The bookworm and the ten volumes
Ten volumes of an encyclopaedia stand in order, volume 1 on the left, on a shelf, in the usual way with their spines facing out. Each volume has a block of pages 4 cm thick and two covers each 0.5 cm thick, so each volume is 5 cm wide.
A bookworm starts at page 1 of volume 1 and eats in a straight line through the books to the last page of volume 10.
How far does the worm travel? The obvious answer is 50 cm, or 49 after removing the outer covers. Both are wrong.
Show a hint
Take a book off a shelf and open it to page 1. Which side of the book, as it stands on the shelf, is page 1 on?
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
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.