Bridges and Articulation Points

hard
Unit 22 · Graphs III0/1 to milestone

In a network, a bridge is a link whose failure disconnects part of the graph, and an articulation point is a node whose failure does. Tarjan's algorithm finds both in one DFS using low-link values: low[v] is the earliest discovery time reachable from v's subtree using at most one back edge.

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Bridges and Articulation Points · TechGradify