Topological Sort - Parallel Courses (Minimum Semesters)
Suppose the Parallel Courses problem is extended so that each course has a duration in semesters, and multiple courses can still be taken in parallel if prerequisites are met. Which approach best handles this variant?
