Jars - rFronteddu/general_wiki GitHub Wiki

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.

Solution

1 Pick is necessary

  • If I pick C from C
    • C must be C since it was mislabeled
    • B cannot be Candies then and cannot be Sweets because it was mislabeled => B is C&S
    • A must be S

Similar reasoning if I pic S from C