Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Easy...
From what I've been told, once I take out a piece to verify that it's fruit, I can then label the other three boxes "fruit" and go have a mojito. -
Boxes: A, O, AO
A cannot contain just apples.
O cannot contain just oranges.
AO cannot contain apples and oranges.
Removing a fruit from A or O won't tell us anything, because the box will contain either only the removed fruit, or a mixture of frit. So remove a fruit from AO, as it cannot be a mixture. Let's assume it is an apple. AO box is now A.
We know the correct label for Box 3. We know that the label on Box 2 must go somewhere. It can't go to Box 3, which is known, so Oranges must be in Box 1. AO label needs to go somewhere, so Box 2 contains both apples and orange.
Bam. And nope, haven't heard this puzzle before. -
Atari3368yYou could just quickly feel if there are more fruit when you put your hand in. Apples and oranges feel pretty different.
-
@Christine you're either a complete genius and I am not being sarcastic here, or your solution makes no sense and is completely wrong.
I don't understand it. -
kc10138yThe key here is all boxes are labeled incorrectly. Here is the solution https://mathsisfun.com/puzzles/...
-
ruro318yI strongly dislike this kind of question. The information you are given is intentionally vague. The "boxes have been labeled incorrectly" could be interpreted as them having wrong labels. Such as "potato, null, 42" or "apples, apples, oranges". There is no reason to assume that the wrong labels are a transposition of the correct ones, if you don't know the solution in advance. And the "such that no label identifies the contents" part even reinforces the uncertainty by suggesting that the labels lack information about the contents.
Although I have to admit, this question is much better than some other similar questions I've seen. -
@codeblue All boxes have to switch their labels. If content of box one is x, you give label x to box x, and then just switch the others.
Related Rants
-
skiilaa41"Are you familiar with uploading your code to Google Drive?" I left the building at that exact moment.
-
qbalsdon49Got this from a recruiter: We are looking for a **Senior Android Developer/Lead** at Philadelphia PA Hiring ...
-
nikolatesla9At the ending part of the interview, I asked a final question to the HR. Me: "So, what language is mostly use...
Legit Apple Interview
There are three boxes, one contains only apples, one contains only oranges, and one contains both apples and oranges. The boxes have been incorrectly labeled such that no label identifies the actual contents of the box it labels. Opening just one box, and without looking in the box, you take out one piece of fruit. By looking at the fruit, how can you immediately label all of the boxes correctly?
Those who got it answer it directly on Saturday/Sunday until then good luck
undefined
wk48