Two trucks at the loading dock
Two trucks each arrive at a loading dock at a uniformly random time during a -minute slot, independently. Truck A stays minutes and Truck B stays minutes (neither past the end of the slot).
What is the probability both trucks are at the dock at the same moment?
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
- 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.
Related questions
Two arrivals, unequal patienceA quick caller and a patient oneTwo friends, equal short waitsOverlapping shifts at a help deskCan the three pieces form a triangle?Two traders trying to meet
All questions β