Topological Sort - Parallel Courses (Minimum Semesters)
What is the space complexity of the optimal BFS topological sort solution for the Parallel Courses problem with
n courses and m prerequisite relations?