Graph -

Tarjans Algorithm -

Uses-

  1. To Find all the bridge edges in graph
  2. To Find Articulation points/cut-vertex in a graph
  3. Find all the Strongly Connected Components in a Directed Graph (uses single DFS travesal)

References and solutions -