← Topological SortDSA 4.2.B

DFS-Based Topological Sort

Run DFS and reverse the post-order finish times to get a valid ordering.

StatusPending

Notes from readers

Comments — via GitHub