Data Structures and Algorithms ยท Graphs
Ordering the vertices of a directed acyclic graph so every edge points forward.
Also known as: topo sort, DAG ordering, Kahn's algorithm.