Software Engineering KB

Home

❯

01 Foundations

❯

01 Algorithms

❯

02 Sub Concept

❯

Tarjan's Algorithm

Tarjan's Algorithm

Feb 10, 20261 min read

  • algorithms
  • graph-algorithms
  • tarjans
  • scc

Tarjan’s Algorithm

← Back to Strongly Connected Components

A DFS-based algorithm that finds all strongly connected components in a directed graph in a single pass. Uses a stack and low-link values to identify SCCs. O(V + E) time.

algorithms graph-algorithms tarjans scc


Graph View

Backlinks

  • Strongly Connected Components
  • Kosaraju's Algorithm

Created with Quartz v4.5.2 © 2026

  • GitHub