Compute maximum simultaneous bus routes | Walmart Labs
|Home/Coding & Algorithms/Walmart Labs
Compute maximum simultaneous bus routes
Walmart Labs
Sep 6, 2025, 12:00 AM
Software Engineer
Technical Screen
Coding & Algorithms
0
0
You are given N bus routes, each defined by a start time (inclusive) and an end time (exclusive). Compute the maximum number of routes running simultaneously. Clarify your algorithm, justify correctness, and analyze time and space complexity.