**Athenahealth Interview Puzzle - 17 July**

You enter a logical virtual tournament. The first problem that is in front of you is as follows:

You have a three liters and a 5 liters measuring jars. There is a huge tank of water behind you comprising of about 100 liters of water. You have to use only these two jars and take out exactly 4 liters of water. How will you do it ?

**For Solution :**Click Here

Fill three liters pour it in five liters can refill three liters pour two liters in five liter can, empty five liter can and pour one liter in it from three liter can last fill three liter can and pour it in five liter can now you have four liters in five liter can.

ReplyDeleteu ve 2 use only two jars...

Deletecompletely fill the 5 litre jar and pur water from it into the 3 litre jar.When the 3 liter jar is full, empty it and put water from 5 liter jar into it = 2litrs.Now refill the 5 litre jar and fill the 3litrs. jar which already has 2ltrs. in it.It gets filled upto 3 litrs. and the remaining amount of water in the 5ltr. jar is 4 ltrs.

ReplyDelete3L 5L

ReplyDelete0 5

3 2

0 2

2 0

2 5

3 4

Fill 3 liter jar completely and pour it in 5 liter jar so that this makes 5 liter jar filled with 3 liters. Again repeat same procedure that will make 5 liter jar filled completely and leaving 1 liter water in 3 liter jar. Empty 5 liter jar and pour 1 liter from 3 liter jar. And finally filled 3 liter jar completely and pour it in 5 liter jar to make it filled with 4 liter jar .

ReplyDeletefirst we will take 3 lit water and pour them in 5 lit bucket...

ReplyDeletesecond time also u pour 3 litres of water in the 5 lit bucket ....so that u r left with 1 lit in 3 lit bucket

now...empty the 5 lit bucket and fil it with 1 lit water

again take 3 lit and pour them into 5 lit bucke

now we have 4lit in 5 lit jar

The simplest

ReplyDeletepour water 12 times out of tank by both cans

remaining will be 4 litres :)

- devansh