AlgorithmsTopological Sort

Topological Sort

An ordering of vertices in a directed acyclic graph where each node comes before its dependents.