He fills the jars with the marbles put the two jars behind his back and tell you to pick one of them at random.
10 jars of marbles riddle.
Interview question for software engineer in san francisco ca 2 you have 10 jars containing 100 marbles each.
Take out 1 pill from jar 1 2 pills from jar 2 3 pills from jar 3 4 pills from jar 4 and 5 pills from jar 5.
Your friend has 100 red marbles 100 blue marbles and 2 jars.
The marbles all look alike.
Put all these 15 pills on the scale.
If the prisoner could pick the blue marble he would escape the prison with his life.
You ll then close your eyes he ll hand you the jar you picked and you ll pick a random marble from that jar.
What is the minimum number of weighs on a scale to find out which jar has the heavy marbles.
The one labeled both.
A king decided to let a prisoner try to escape the prison with his life.
10 jars marbles puzzle solution posted by admin at 23 19 on wednesday 19 september 2012 the trick in this puzzle is that you are allows to weigh just once and you have to figure out the jar which contains the defective marbles.
The correct weight is 150 15 10.
To find the contaminated jar follow this step wise approach.
If a black marble comes out you know that has to be the black marbles box so you put the black label on it.
One of the marbles was supposed to be black and one was supposed to be blue.
He proposes a game.
Since you know that the box is labeled incorrectly it must have all black marbles or all white marbles.
The other jars have marbles weighing 1 0 grams.