Fruit Jars Puzzle

on Tuesday 25 September 2012
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?

Click here for the solution

0 comments:

Post a Comment