Main Idea of Topological Sort: Starts from node with no dependencies, goes up to all its dependents and checks them, when those dependents indegree is 0, append them to the queue
Link to Question:
https://leetcode.com/problems/course-...
Time Complexity: O(V+E)
Space Complexity: O(V+E)