3 Jars label puzzle
Most Popular and famous interview puzzle!
Re-label the 3 jars such that they are correctly labeled.
There are 3 jars containing apples, oranges, and apples & oranges with incorrect labels. Rearrange them to correct labels?
To label all the jars with correct one.
First, open the jar with apple & orange incorrect label and let’s suppose the picked one is apple. Since its label on the jar is incorrect its correct label should be apple.
Next, If apple is present in Apple incorrectly labeled jar then it has both apples & oranges. else it is an orange jar.
Finally, label the last jar with the left combination.