This is a very popular brain teaser with many companies.

**Problem**** :**

We have 10 identical bottles of identical pills (each bottle contain hundred of pills). Out of 10 bottles 9 have 1 gram of pills but 1 bottle has pills of weight of 1.1 gram. Given a measurement scale, how would you find the heavy bottle? You can use the scale only once.

**Answer: **

First, arrange the bottles on shelf and now take, 1 pill from the first bottle, 2 pills from the second bottle, 3 pills from the third bottle, and so on. Ideally you would have (10)*(11)/2=55 pills weighing 55 grams, when you put the entire pile of pills on the weighing scale.The deviation from 55 g would tell you which bottle contains the heavy pills.

If it is .1 gram more, it is 1st bottle which has heavy pill, if it is .2 more, gram 2nd bottle has heavy pills, if it is .3 more, gram 3rd bottle has heavy pills.

I read a lot of interesting posts here. Probably you spend

a lot of time writing, i know how to save you a lot of work, there is an online tool that creates

high quality, google friendly articles in seconds,

just search in google – laranitas free

content source

Pingback: What should you ask in an interview? – Mel Reams

Simply place all 10 bottles on the scale and remove 1 at a time until the remaining weight reduces by the net weight of 1 x bottle plus 110 grams.

nice logical question

Divide 10 bottles into group of 2 (5 bottle each) Now wight them now take out the group which is more in wight. Repeat the process until you found the heavier bottle. It will take less number of comparision.

Divide 10 bottles into group of 2 (5 bottle each) Now wight them now take out the group which is more in wight. Repeat the process until you found the heavier bottle. It will take less number of comparison.