Decrease And Conquer Topological Sort Bfs Algorithm Leetcode Python