Sponsored
Use these hints if you're stuck. Try solving on your own first.
For a given amount of time, how can we count the total number of trips completed by all buses within that time?
Consider using binary search.
Solve with full IDE support and test cases