Available question text
Given unsorted bus departure times and passenger arrival times with a per-bus capacity, sort and simulate buses in chronological order filling them with the earliest waiting passengers; return the latest time (distinct from any passenger) you can arrive to still board — either the last bus's departure if it has room, or just before the last passenger who boarded a full last bus.
Related questions
Continue with questions that share topics or the same question type.
- Latest Time by Replacing Hidden Digits
Coding
- Latest Time You Can Obtain After Replacing Characters
Coding
- 0/1 Knapsack Problem with Time Complexity Optimization
Coding
- Amount of Time for Binary Tree to Be Infected
Coding · Binary Tree · Breadth-First Search · Depth-First Search
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2332. The Latest Time to Catch a Bus
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source