What is the bridge and torch puzzle?
Four people must cross a narrow bridge at night. They have one torch, and the bridge holds at most two at a time. Crossing alone takes them 1, 2, 5 and 10 minutes; two crossing together walk at the slower one's pace, and someone always has to bring the torch back. What is the least time to get everyone over? The answer is 17 minutes. It is also known as the bridge riddle, and TED-Ed's 2015 video of it uses the same four times.
How to play it here
Tap one or two people on the side where the torch is, then press Cross. The minutes add up at the top. Undo takes back a crossing and Start over resets the puzzle. When everyone is across, your total is rated against the fewest possible.
Why isn't the answer 19 minutes?
The first idea most people have is to let the fastest person walk everyone over and come back each time. That takes 19 minutes. The trick is to send the two slowest across together, so the 10-minute walk also covers the 5-minute one, and to have the two fastest do the running back and forth:
- The 1- and 2-minute walkers cross (2 min).
- The 1-minute walker brings the torch back (1 min).
- The 5- and 10-minute walkers cross (10 min).
- The 2-minute walker brings the torch back (2 min).
- The 1- and 2-minute walkers cross (2 min).
That adds up to 17 minutes, and a computer search over every possible plan finds nothing shorter.
The five-person version
With five people taking 1, 3, 6, 8 and 12 minutes, the fewest is 29 minutes. The same two moves do the work: either the two fastest ferry the two slowest across together, or the fastest escorts them one at a time, whichever is quicker for that pair. Günter Rote proved in 2002 that choosing between those two moves, slowest pair first, always gives the best answer, however many people there are. One best plan:
- The 1- and 3-minute walkers cross (3 min).
- The 1-minute walker brings the torch back (1 min).
- The 8- and 12-minute walkers cross (12 min).
- The 3-minute walker brings the torch back (3 min).
- The 1- and 3-minute walkers cross (3 min).
- The 1-minute walker brings the torch back (1 min).
- The 1- and 6-minute walkers cross (6 min).
What does my rating mean?
Your minutes are compared with the fewest possible: exactly the fewest is Perfect, and every extra minute lowers the rating.
| Rating (minutes) | 4 people | 5 people |
|---|---|---|
| Perfect | 17 | 29 |
| Excellent | 18–19 | 30–33 |
| Good | 20–22 | 34–39 |
| Fair | 23–30 | 40–52 |
| Keep trying | 31+ | 53+ |
Like crossing puzzles? Try the River Crossing Puzzle or the Water Jug Puzzle.