Graph Theory37 sections · 1633 units
Open in Course

Tarjan's Algorithm for Articulation Points

(Finding critical vertices)

Tarjan's algorithm finds all articulation points in O(V+E)O(V+E) time using the same DFS approach. A vertex uu is an articulation point if:

1.1. uu is the root of the DFS tree and has 2\geq 2 children (root case), OR

2.2. uu is not the root and has a child vv where low[v] >= disc[u] (non-root case).

Note: \geq not >> like bridges. Equality means the subtree can reach uu but not beyond, so uu is still critical.

Space complexity is O(V)O(V) for the data structures used.