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)?