Two Bottles Measuring Puzzle

Logic Level 3

You have two water bottles both empty, one with the capacity to hold 11 liters of water and the other 6 liters and an endless supply of water. What is the minimum number of moves required to get 9 liters?

Details and assumptions :

  • Filling a bottle, emptying a filled bottle and transferring water from one bottle to another counts as a move.

  • You have to transfer as many liters as you can from a filled bottle to another empty or partially filled bottle. For example, if the 11 liters bottle has 7 liters of water and the 6 liters bottle has 3 liters already filled, if you want to transfer water from the 11 liters bottle to the 6 liters bottle, the 11 liters bottle will have 4 liters and the 6 liters bottle will have 6 liters.

  • While filling the bottle, you have to fill it to the bottle's maximum capacity.


The answer is 12.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Steps:-

1.Fill the 11 litre bottle. (11,0)

2.Transfer water to the 6 litre bottle from the 11 litre bottle. (5,6)

3.Empty the 6 litre bottle. (5,0)

4.Transfer water to the 6 litre bottle from the 11 litre bottle. (0,5)

5.Fill the 11 litre bottle. (11,5)

6.Transfer water to the 6 litre bottle from the 11 litre bottle. (10,6)

7.Empty the 6 litre bottle. (10,0)

8.Transfer water to the 6 litre bottle from the 11 litre bottle. (4,6)

9.Empty the 6 litre bottle. (4,0)

10.Transfer water to the 6 litre bottle from the 11 litre bottle. (0,4)

11.Fill the 11 litre bottle. (11,4)

12.Transfer water to the 6 litre bottle from the 11 litre bottle. (9,6)

well thats a good post . but how could you say that it is minimum ? anyway i also have done same way..

Ambuj Kumar Pandit - 5 years, 11 months ago

Log in to reply

Here in 2 bottles..If one analyses..one can easily determine that the next move is either true or false i.e that the next move is repeating or not..So if the next move is non-repeating, the total no. of moves one takes is max. for 2 bottles...

Charlz Charlizard - 5 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...