A 5-gallon jug, a 3-gallon jug, an endless fountain. How do you measure exactly 4 gallons?
Neither jug has markings, so you can only fill one completely, empty one completely, or pour from one into the other until it's full or the source runs dry. The trick later showed up as a ticking bomb-defusal puzzle in a Hollywood thriller.
Reveal the answer
Fill the 5-gallon jug, pour it into the 3-gallon jug until full (leaving 2 in the 5-gallon), empty the 3-gallon jug, pour the remaining 2 gallons into it, refill the 5-gallon jug, then top up the 3-gallon jug from it, that takes exactly 1 gallon, leaving exactly 4 in the 5-gallon jug. Puzzles of this type date to Niccolo Tartaglia in the 16th century; this exact version was solved on screen in Die Hard with a Vengeance (1995).
— Wikipedia contributors, Water pouring puzzle — Puzzle type traced to Niccolo Tartaglia, 16th century