Data Structures and Algorithms ยท Graphs

Topological sort

Ordering the vertices of a directed acyclic graph so every edge points forward.

Also known as: topo sort, DAG ordering, Kahn's algorithm.

Start a lesson on Topological sort

Learn first

Related topics