Why it matters
Bridges identify critical connections. Complement to articulation points.
Advertisement
The architecture
DFS + disc + low.
Edge (u, v) is bridge if low[v] > disc[u].
Advertisement
How it works end to end
Compute disc + low.
For each tree edge (u,v), check low[v] > disc[u].
Back edges never bridges.