Three closed boxes have either white marbles black marbles or both and they are labeled white black and both.
Three jars of marbles riddle.
Your friend shows you two jars one with 100 red marbles in it the other with 100 blue marbles in it.
This problem is also called jelly beans problem.
You may reach into one of the boxes and pull out only one marble.
Let p blue probability of picking a blue marble.
We want to see which group contains the heavy marble.
Red and blue marbles.
The king placed 2 marbles in a jar that was glued to a table.
A king decided to let a prisoner try to escape the prison with his life.
We first put marbles in groups of 3.
The jar you are open may contain one fruit or two fruit.
Now you are allowed to open any one jar and you can able to see one fruit.
You have 3 jars that are all mislabeled.
However all three boxes are mislabeled.
If you move one marble from rm to bm the number of marbles in bm will become twice the number of marbles read more.
He proposes a game.
You ll then close your eyes he ll hand you the jar you picked and you ll pick a random marble from that jar.
But you could able to see only one fruit and you can t find weather the opened jar has one or two fruit.
One jar contains apple another contains oranges and the third jar contains a mixture of both apple and oranges.
If it does not tip to a side if it balances we know the unused group of 3 contains the heavy marble.
He ll put the two jars behind his back and tell you to pick one of them at random.
You love candy and you are given 3 opaque jars which contain candies that are either blue or pink.
You are allowed to pick as many fruits as you want from each jar to fix the labels on the jars.
One of the marbles was supposed to be black and one was supposed to be blue.
You have two jars of red and blue marbles labelled as rm and bm.
The puzzle goes like this.
One contains red marbles one contains black and one contains a mixture of both but we don t know which is which.
You have three jars that are all mislabeled.
P blue p jar 1 p blue in jar 1 p jar 2 p blue in jar 2 p blue 0 5 1 0 5 99 199 p blue 0 748.
To do this put 3 marbles in each side 3 left 3 right 3 unused if the scale tips to a side we know that group of 3 has the heavy marble.
One contains apples another has grapes and the third has a mix of both.
The jars are labeled red black and mixed but all of the labels are.
This is the most commonly asked interview puzzle.
Thus we end up with 75 chance of picking a blue marble.
Jar 1 contains 1 blue marble and jar 2 contains 99 blue marbles and 100 red marbles.