Sponsored
Use these hints if you're stuck. Try solving on your own first.
Use two hash tables. The first to save the check-in time for a customer and the second to update the total time between two stations.
Solve with full IDE support and test cases