Overview
Tarjan's algorithm tracks discovery indexes and low-link values to identify component roots during DFS.
Finds strongly connected components in one depth-first search pass.
Compact metadata for implementation and discovery.
Tarjan's algorithm tracks discovery indexes and low-link values to identify component roots during DFS.
Quick facts
Runtime and memory behavior at a glance.
Best
O(V + E)
Average
O(V + E)
Worst
O(V + E)
Space
O(V)
Show low-link values and a stack forming components.
Tarjan's Strongly Connected Components operates in O(V + E) time and O(V) space within the Strong Components family. Often compared with Kosaraju's Algorithm and Cycle Detection.
What each reference supports for this entry.
Textbook support for Tarjan's Strongly Connected Components's standard algorithm design, invariants, and complexity analysis.
Open sourceAlgorithm catalog support for Tarjan's Strongly Connected Components's problem context, known alternatives, and practical selection tradeoffs.
Open sourceFoundational reference for Tarjan's linear-time strongly connected components algorithm.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Tarjan's SCC algorithm tracks low-link values during DFS.
Both compute strongly connected components.