Presentation Transcript
5 Litre, 3 Litre Jug giving 4 Litre water Problem: 5 Litre, 3 Litre Jug giving 4 Litre water Problem Explained by Rohit Ghatol
rohitsghatol@gmail.com
Problem: Problem I have unlimited supply of water, I also have one 5 Litre and one 3 Litre Jug. Give me 4 Litre of water 5 Litre Jug 3 Litre Jug
Solution: Solution Step 1 :- Fill 5 Litre Jug completely 5 Litre Jug 3 Litre Jug
Solution: Solution Step 2 :- Pour into 3 Litre Jug until 3 Litre not complete. Now there is 2 Litre water in 5 Litre Jug. Note 5 Litre JUG now has 2 Litres of water 5 Litre Jug 3 Litre Jug
Solution: Solution Step 3 :- Empty 3 Litre JUG 5 Litre Jug 3 Litre Jug
Solution: Solution Step 4 :- Pour 2 Litre from 5 Litre JUG into 3 Litre JUG. 5 Litre Jug 3 Litre Jug
Solution: Solution Step 5 :- Fill 5 Litre JUG completely 5 Litre Jug 3 Litre Jug
Solution: Solution Step 6 :- Now 3 Litre JUG has only 1 Litre capacity left. Pour water from 5 Litre JUG into 3 Litre JUG, until 3 Litre JUG is completely full.
That will leave 4 Litre water in 5 Litre JUG. Problem solved 5 Litre Jug 3 Litre Jug