You have four boxes labeled Apples, Bananas, Carrots, and Dates. Each box is closed.
While you know all four types of food are there and each box only contains one type of food, you also know that only one of the boxes is labeled correctly. How many boxes do you need to open to be guaranteed to find out which one is labeled correctly?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
You have to start somehow. Open box A. You might strike it lucky and find it is the correctly labelled box, but we have to assume the worst case scenario. Suppose it contains one of the other fruits, say (without loss of generality) fruit B. Then we know that neither A nor B are labelled correctly.
So now open box C. If it contains fruit C it is the correctly labelled box and we are done. And if it does not contain fruit C we are done as well, because box D remains as the only box which is not incorrectly labelled - and so must be the correctly labelled box.
Note.
By 'without loss of generality' I mean that the other cases (fruit C or fruit D being found in box A) are treated by the same argument, except for a trivial permutation of the letters.