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