PuzzlersWorld.com

  • Hacker Puzzle
  • Interview Puzzles
  • Number Puzzles
  • Maths Puzzles

Jelly beans

(4 votes, average: 1.50 out of 5)

December 2, 2007 by Ankur 2 Comments

You have three jars that are all mislabeled. One contains peanut butter jelly beans, another grape jelly jelly beans and the third has a mix of both (not necessarily half-half mix). How many jelly beans would you have to pull out and out of which jars, to find out how to fix the labels on the jars?

Labels on jars are as follows
Jar 1 : Peanut butter
Jar 2 : Grape
Jar 3 : P.b. / Grape

See Solution : Jelly beansHide Solution

Only one jelly bean from the p.b./grape jar will do the trick.

The trick here is to realize that every jar is mislabeled. Therefore you know that the peanut butter jelly bean jar is not the peanut butter jelly bean jar and the same goes for the rest.
You also need to realize that it is the jar labeled p.b./grape, labelled as the mix jar, that is your best hope. If you choose a jelly bean out of there, then you will know whether that jar is peanut butter or grape jelly jelly beans. It can’t be the mix jar because i already said that every jar is mislabeled.
Once you know that jar 3 is either peanut butter, or grape jelly, then you know the other jars also. If it is peanut butter, then jar 2 must be mixed because it can’t be grape (as its labeled) and it can’t be peanut butter (that’s jar 3). Hence jar 1 is grape.
If jar 3 is grape, then you know jar 1 must be the mix because it can’t be p.b. (as its labeled) and it can’t be grape (that’s jar 3). Hence jar 2 is peanut butter.

  • Share on Whatsapp
  • Share on Facebook
  • Share on Twitter
Facebook Comments
Next Puzzle
Wires on fire

Checkout more Interview Puzzles Tags: Interview, Puzzle, Solved Puzzles

Comments

  1. Anriod says

    November 13, 2014 at 5:00 pm

    You just need to open any of the jelly beans jars (Ans is not just p.b./grape jar). If you open either of Jar1 or Jar2, even then you will be able to label the jars correct. So the correct ANSWER is any of the one jar needs to be opened.

    Example if Jar 1 is opened:
    Jar one will surely not contain p.b, so it could contain either grape or mix jelly beans.
    a. If Jar 1 contains grape jelly bean, then jar 2 will contain mix jelly beans (as Jar 3 can’t have mix jelly beans in it, due to mislabeling) and jar 3 will contain peanut jelly beans

    b. If Jar 1 contains mix jelly bean, then jar 3 will contain grapes jelly
    beans (as Jar 2 can’t have grapes jelly beans in it, due to mislabeling)
    and jar 2 will contain peanut jelly beans

    Similarly, it can be explained IF JAR 2 IS OPENED.

    😉

    Reply
  2. Ahmad Abdullah says

    December 4, 2007 at 6:31 pm

    NICE One 🙂

    Reply

Leave a Comment Cancel reply

Submit your Puzzle

You may also like

  • Hour glass problem
  • King and wine bottles
  • 100 people with sword puzzle
  • Lie tribe and Truth tribe
  • Inverted cards puzzle
  • Four glasses on a square table
  • Jelly beans
  • Zeroes in 100 factorial
  • River crossing: she-goat, wolf and cabbage
  • 1-40 litres of milk in drum puzzle

Categories

  • Aive hi Puzzles
  • Akbar and Birbal
  • Alphabetical Puzzles
  • Bollywood Puzzles
  • Google Code jam
  • Hindi Riddles
  • Interview Puzzles
  • Interview Questions
  • Logical Puzzles
  • Malayalam Puzzles
  • Maths Puzzles
  • Miscellaneous
  • Number Puzzles
  • Picture Puzzles
  • Riddles
  • Tamil Puzzles
  • Technical

Social

  • View puzzlersworld’s profile on Twitter
privacy policy

Copyright © 2025 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in

  • Hacker Puzzle
  • Logo Puzzles
  • Optical Illusions
  • WhatsApp Puzzles
  • Picture Puzzles
  • Riddles
    â–¼
    • Hindi Riddles
  • Bollywood Puzzles
  • Alphabetical Puzzles
  • Aive hi Puzzles
  • Interview Puzzles
  • Logical Puzzles
  • Interview Questions
    â–¼
    • Data Structures
    • Binary Tree
    • Algorithms
    • Recursion Questions
    • Amazon Interview Questions
    • Snapdeal Interview Questions
    • Google Code jam
  • Technical
  • Akbar and Birbal
  • Number Puzzles
  • Maths Puzzles
  • Miscellaneous