you weight 3 and 3
if one of the groups are heavier, throw away everything else (preferably through the window of who gave you this logic puzzle).
If they wieght the same throw both lots away and keep the 3 you didn't weight.
Out of the 3 left, weight 1 and 1. If one is heavier, that's the one. otherwise the one you didn't weight is the heavier one.
There is another answer though: Through probability, you could pick up any one of the stones, and you have a 1/9 chance that it is the heavier one, and thus you don't even have to use the scale.
Originally posted by mendhak That was a Microsoft interview question.
There is another answer though: Through probability, you could pick up any one of the stones, and you have a 1/9 chance that it is the heavier one, and thus you don't even have to use the scale.
I already knew the first answer, but the answer with the probability is new to me.
but i think that the hard part in the quiz here is while using a scale.
thanks for all
Start:
1 and 1 - can't determine 7 remaining
2 and 2 - 5 remaining, same thing
3 and 3 - Can't even determine three!
4 and 4 - Can't determine if first is unequal
Don't pay attention to this signature, it's contradictory.