Active Couriers Timeline
Problem overview from a real Uber interview:
Solve this Uber problem by using a sweep line on overlapping start and exclusive end intervals to output merged segments with worker counts over zero.
Check more interview questions and experiences about Uber
