LECTURE 20 OF 25
Topological Sort
Turn directed prerequisites into a valid order, or expose the cycle that makes every order impossible.
Builds on
Best read after 18. Graphs — you can still read ahead, but some of this may lean on ideas covered there.