Topological Sort Questions Leetcode