Qm

Escaping a fire on a long thin island

You are stranded on a long, thin island entirely covered in dry grass. A fire breaks out at the western end, and a steady west wind drives it eastward towards you. The island is far too narrow to go round the fire, you cannot swim, and there is nowhere bare to stand. You have matches.

How do you survive?

Show a hint

The fire is dangerous only where there is unburnt grass. Can you make some burnt grass of your own before the main fire arrives?

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

The blind man and the four pillsThe bookworm and the ten volumesBorn on the same day, same parents, not twinsThe bridge with the sleepy guardAdd the milk now or just before drinking?
All questions →