YUNOVA · Data Structures & Algorithms · Module 12: Advanced graphs

Strongly connected components: Kosaraju

Notes for offline study · 30 November 2026

Strongly connected components: Kosaraju

Key points

  • In a strongly connected component every vertex can reach every other vertex.
  • Kosaraju runs DFS to get finish order, then DFS on the reversed graph in that order.
  • It runs in O(V + E).

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.