← Topological SortDSA 4.2.A

Kahn's Algorithm

BFS driven by in-degree counting — repeatedly peel off nodes with no remaining incoming edges.

StatusPending

Notes from readers

Comments — via GitHub