Puzzle 54 | Fill the Jug

There are two jugs each of 4 and 3 liters respectively , without any measuring marks. how many minimum steps are required to have 2 liters of water into the 4 litre jug (the jugs can be filled any number of times with water, and they can be emptied any number of times).


Note that this puzzle is different from the one discussed here. Here we need 2 litre water in 4 litre jug (not in any of the two jugs).


Answer: 5
Step 1 : Fill 3-litre jug with water completely
Step 2 : Empty water from 3-litre jug into 4-litre
Step 3 : Again, fill 3-litre jug with water completely
Step 4 : And pour water from 3-litre jug into 4-litre jug until 4-litre jug becomes full
Step 5 : Now, we are left with 2 litre water in 3-litre jug. Transfer water of 3-litre jug to 4-litre jug, resulting in 2 litre water in 4-litre jug.


This puzzle is contributed by Naziya Parveen.Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above

My Personal Notes arrow_drop_up

Improved By : naziyap018

Article Tags :
Practice Tags :


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.