Topological Sorting

Directed acyclic graphs

A directed acyclic graph (DAG) is a directed graph, with the additional property that it is acyclic, i.e., has no cycles.

Get hands-on with 1200+ tech skills courses.