Four Liters From 3 and 5

Brain Teasers
Jug Puzzles
Easy
You have an unmarked -liter jug and an unmarked -liter jug, unlimited water, and may empty either jug. Measure exactly liters.
Hint 1

First make liters in the big jug.

Hint 2

Then the small jug has room for exactly more liter.

Show worked solution
  1. 1. Make 2

    Fill the , pour into the : liters remain in the .

  2. 2. Store it

    Empty the and pour the liters into it.

  3. 3. Finish

    Refill the and pour into the until full ( liter). The -liter jug now holds liters.

  4. 4. Key idea

    Any amount with is reachable; work backwards from the target.

Answer: Fill 5, pour into 3 (2 left), empty 3, pour the 2 in, refill 5, top up 3 with 1: 4 liters remain in the 5

Related roles: Browse quant jobs

Related problems