Deep Dive

Bridges (Tarjan)

1192. Critical Connections in a Network · Graph search · 60 of 78

1/15

Which roads are critical?

AEBDCF
In this lessonStep 1 of 15 · ← → keys
The question

Find every road whose loss would split the network into two parts. One DFS works this out by tracking how far back up each part of the graph can reach.