Qm

Two ships sharing a berth

Two ships each arrive at a berth at a uniformly random time during a 24-hour day, independently. Each ship occupies the berth for 4 hours after it arrives.

What is the probability that their stays overlap (a scheduling conflict)?

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

Two arrivals, unequal patienceTwo trucks at the loading dockA quick caller and a patient oneTwo friends, equal short waitsOverlapping shifts at a help desk
All questions →