package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev
# README
2332. The Latest Time to Catch a Bus
Solution idea
Greedy Algorithm with sorting
Time complexity = $O(n\times m)$ where $n = $ number of buses, $m = $ number of passengers