Sponsored
Use these hints if you're stuck. Try solving on your own first.
Sort the pickup and dropoff events by location, then process them in order.
Solve with full IDE support and test cases