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