Qm

Two boys and a one-person boat

Two boys want to cross a river. There is one small boat, and it can carry only one boy at a time. There is no bridge, nobody else around, and neither boy can swim.

Yet both boys cross the river using the boat.

How?

Show a hint

Which bank did each boy start 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

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 surgeon who cannot operateThe blind man and the four pillsThe bookworm and the ten volumesBorn on the same day, same parents, not twinsThe bridge with the sleepy guard
All questions →