Skip to content
Home » topological sort

topological sort

Lintcode 207 Course Schedule

https://leetcode.com/problems/course-schedule/description We can follow the steps introduced in https://leetcode-solution.com/breadth-first-search to solve this problem. Let’s take a look at the solution: