1. 8-Liter,5-Liter,3-Liter Puzzle
We have 3 containers, of volumes 8, 5, and 3 liter. The 8-liter container is full of water. The containers have no measurement lines on them. How could you measure exactly 4 liter using only those containers?
This question was actually asked in a popular movie – Die Hard With A Vengeance.
Also asked in one of the interviews when i attended?
Try figuring this one out on your own before reading the answer. It should be clear that the goal is to end up with 4 liter in the 5 liter jug, since having 4 liters in the 3 liter jug is impossible.
.
.
.
8-Liter 5-Liter 3-Liter
8 0 0
3 5 0
3 2 3
6 2 0
6 0 2
1 5 2
1 4 3
4 4 0
We have 3 containers, of volumes 8, 5, and 3 liter. The 8-liter container is full of water. The containers have no measurement lines on them. How could you measure exactly 4 liter using only those containers?
This question was actually asked in a popular movie – Die Hard With A Vengeance.
Also asked in one of the interviews when i attended?
Try figuring this one out on your own before reading the answer. It should be clear that the goal is to end up with 4 liter in the 5 liter jug, since having 4 liters in the 3 liter jug is impossible.
.
.
.
8-Liter 5-Liter 3-Liter
8 0 0
3 5 0
3 2 3
6 2 0
6 0 2
1 5 2
1 4 3
4 4 0
No comments :
Post a Comment