Qm
BrainteasersOptiverIMC

Split eight litres in half with a 5 and a 3

You have three unmarked jugs of 8, 5 and 3 litres. The 8-litre jug is full of water; the other two are empty. There is no tap and no drain: the only thing you can do is pour from one jug into another until the source is empty or the target is full.

Divide the water into two equal shares of 4 litres each. What is the smallest number of pours that does it?

Show a hint

The 3-litre jug is the workhorse. Keep filling it from the 8 and tipping it into the 5, and watch what happens when the 5 overflows.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Exactly one litre from a 7 and a 5Three litres from a 12 and a 5Measure 8 litres with a 10 and a 6Measure exactly 6 litres with a 9 and a 4 jugMeasure 4 litres with a 3 and a 5 jug
All questions →