Three Jars Of Marbles Riddle

The jar you are open may contain one fruit or two fruit.
Three jars of marbles riddle. This problem is also called jelly beans problem. He proposes a game. Let p blue probability of picking a blue marble. Three closed boxes have either white marbles black marbles or both and they are labeled white black and both.
We want to see which group contains the heavy marble. 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. We first put marbles in groups of 3.
If you move one marble from rm to bm the number of marbles in bm will become twice the number of marbles read more. Red and blue marbles. You ll then close your eyes he ll hand you the jar you picked and you ll pick a random marble from that jar. 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. You have two jars of red and blue marbles labelled as rm and bm. Jar 1 contains 1 blue marble and jar 2 contains 99 blue marbles and 100 red marbles. This is the most commonly asked interview puzzle.
If the prisoner could pick the blue marble he would escape the prison with his life. 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. Now you are allowed to open any one jar and you can able to see one fruit.
But you could able to see only one fruit and you can t find weather the opened jar has one or two fruit. However all three boxes are mislabeled. You have 3 jars that are all mislabeled. Your friend shows you two jars one with 100 red marbles in it the other with 100 blue marbles in it.
Thus we end up with 75 chance of picking a blue marble. One of them is labeled blue one pink and one blue. 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. Those who like to challenge their brains can read this riddle and leave their answers in the comment section.
He ll put the two jars behind his back and tell you to pick one of them at random. One jar contains apple another contains oranges and the third jar contains a mixture of both apple and oranges. You may reach into one of the boxes and pull out only one marble. You have three jars that are all mislabeled.
The jars are labeled red black and mixed but all of the labels are. You are allowed to pick as many fruits as you want from each jar to fix the labels on the jars.