leetcode
1466. Reorder Routes to Make All Paths Lead to the City Zero
Solution code
Time complexity: O(n)
Space complexity: O(n)