I have gone through simple water jug problems like this link but when there are 3 jugs:
- 16 Galoon jug with water filled.
- 11 Galoon empty jug.
- 6 Galoon empty jug.
Find a solution to gain 8 Galoon, using these 3 jugs.
I have gone through simple water jug problems like this link but when there are 3 jugs:
Find a solution to gain 8 Galoon, using these 3 jugs.
Assuming you may dispose of water...
Call the jugs A, B, C respectively.
Jug A now has 8 litres.
If we may not discard water:
Jug B now has 8 litres.
Another way of producing same result with minimum steps would be as below:
Lets assume 16 Litre jug as A, 11 Litre jug as B and 6 Litre jug as C.
Initial Configuration : (16 0 0)