[Daily Brain Teaser] Gallon Riddle - 21 January

94 views
Skip to first unread message

Lavesh Rawat

unread,
Jan 21, 2013, 3:18:31 AM1/21/13
to best-puzzles

Gallon Riddle  - 21 January


There are three gallons X,Y & Z.


Gallon X having capacity of eight liters is with filled with 5 liters of liquid.

Gallon Y having capacity of five liters is with filled with 3 liters of liquid.

Gallon Z having capacity of three liters is with filled with 2 liters of liquid.


How can you measure 1 liter of liquid in minimum number of steps ?


Update Your Answers at : Click Here


Solution

Will be updated after 1 day

Ajaya Agrawal

unread,
Jan 21, 2013, 7:57:15 AM1/21/13
to programmi...@googlegroups.com, best-puzzles
Pour water from X into Z until Z is full. Now Take Z and empty it in Y until Y is full. Whatever left in Z is 1 liter. So two steps. 

P.S. There is a game in play store called WATER LOGIC based on same concept.

--
Visit http://www.gowrikumar.com for good puzzles in C programming language and programming interview questions.
 
You received this message because you are subscribed to the Google Groups "Programming Puzzles" group. To post to this group, send email to programmi...@googlegroups.com



--
Warm Regards,
 Ajaya Kumar Agrawal
 
Reply all
Reply to author
Forward
0 new messages