Hard problem. Accepted after four submissions. Done by myself.
Problem
Java
1 | class Solution { |
Submission Detail
- 45 / 45 test cases passed.
- Runtime: 1156 ms, faster than 5.02% of Java online submissions for Bus Routes.
- Memory Usage: 48.2 MB, less than 100.00% of Java online submissions for Bus Routes.