











3 Mislabeled Jar of Fruits
Solve the 3 Mislabeled Jar of Fruits
Puzzle of 3 Mislabeled Jar of Fruits.
This problem is also called Jelly Beans problem. This is the most commonly asked interview puzzle.
You have 3 jars that are all mislabeled. One jar contains Apple, another contains Oranges and the third jar contains a mixture of both Apple and Oranges.
You are allowed to pick as many fruits as you want from each jar to fix the labels on the jars. What is the minimum number of fruits that you have to pick and from which jars to correctly label them?
Labels on jars are as shown in fig:


Solution
- Let’s take a scenario. Suppose you pick from jar labelled as Apple and Oranges and you got Apple from it. That means that jar should be Apple as it is incorrectly labelled. So it has to be Apple jar.
- Now the jar labelled Oranges has to be Mixed as it cannot be the Oranges jar as they are wrongly labelled and the jar labelled Apple has to be Oranges.


Similar scenario applies if it’s a Oranges taken out from the jar labelled as Apple and Oranges. So you need to pick just one fruit from the jar labelled as Apple and Oranges to correctly label the jars.





- Flipping Coins Puzzle Answer
- Bag of Forgery Coins Puzzle Answer
- 3 Glass & 10 Coins Puzzle Answer
- Pirates and 100 Coins Puzzle AnswerHorse
- Horse Puzzle Answer
- Handshake Puzzle Answer
- Burning Rope Puzzle Answer
- Handshake Puzzle Answer
- Shopkeeper & the fake note Puzzle Answer
- Heavier Ball Puzzle Answer
- 5L measuring Puzzle Answer
- 6 Digit number Puzzle Answer
- Gold Bar Puzzle Answer



- Flipping Coins Puzzle Answer
- Bag of Forgery Coins Puzzle Answer
- 3 Glass & 10 Coins Puzzle Answer
- Pirates and 100 Coins Puzzle AnswerHorse
- Horse Puzzle Answer
- Handshake Puzzle Answer
- Burning Rope Puzzle Answer
- Handshake Puzzle Answer
- Shopkeeper & the fake note Puzzle Answer
- Heavier Ball Puzzle Answer
- 5L measuring Puzzle Answer
- 6 Digit number Puzzle Answer
- Gold Bar Puzzle Answer
Login/Signup to comment