Open In App
Related Articles

Puzzle | Mislabeled Jars

Improve Article
Save Article
Like Article

Puzzle: There are 3 jars, namely, A, B, C. All of them are mislabeled. Following are the labels of each of the jars:

  • A: Candies
  • B: Sweets
  • C: Candies and Sweets (mixed in a random proportion)

You can put your hand in a jar and pick only one eatable at a time. Tell the minimum number of eatable(s) that has/have to be picked in order to label the jars correctly.

Assume that the shape of the candies and sweets are identical and there is no way to differentiate them by touching alone.


Answer: 1 pick of an eatable is required to correctly label the Jars.

  1. You have to pick only one eatable from jar C. Suppose the eatable is a candy, then the jar C contains candies only(because all the jars were mislabeled).
  2. Now, since the jar C has candies only, Jar B can contain sweets or mixture. But, jar B can contain only the mixture because its label reads “sweets” which is wrong.
  3. Therefore, Jar A contains sweets. Thus the correct labels are:
    • A: Sweets.
    • B: Candies and Sweets.
    • C: Candies.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 18 Jan, 2023
Like Article
Save Article
Similar Reads