Bridges / Articulation / BCC Ladder¶
This ladder should make low-link feel like one reusable family, not three unrelated graph tricks.
Who This Is For¶
Use this lane if:
- "critical road" and "critical city" still feel like different algorithms
- you know DFS, but
tin / lowstill feels slippery - bridge trees or block-cut trees seem magical instead of structural
This lane is intentionally staged:
- one flagship bridge rep in-repo
- one exact starter
- strong compare points back to traversal, trees, and SCC boundaries
Warm-Up¶
- DFS tree
- entry times
- back edges to ancestors
Target skill:
- explain what
low[v]means in words before writing code
Core¶
- Necessary Roads
- bridge test
low[child] > tin[parent] - articulation test
low[child] >= tin[parent] - root special case
Target skill:
- move from one DFS invariant to critical-edge / critical-vertex output cleanly
Stretch¶
- compare against Trees after bridge compression
- compare against Topological Sort And SCC so directed-vs-undirected separation stays clear
- use Necessary Cities as the first articulation-only stretch
- use Forbidden Cities as the first block-cut-tree stretch
Target skill:
- know when plain bridge/articulation is enough, and when the task really wants a block-cut or bridge-tree reduction
Retrieval Layer¶
- quickest in-repo reminder -> Low-Link hot sheet
- exact starter -> bridges-articulation-lowlink.cpp
- flagship in-lane rep -> Necessary Roads
- tree compare point after compression -> Trees
Repo Anchors And Compare Points¶
- topic page -> Bridges, Articulation Points, And Biconnected Components
- traversal prerequisite -> BFS And DFS
- directed-graph boundary -> Topological Sort And SCC
- broader graph routing -> Graphs ladder
The strongest in-repo loop here is:
- learn the
tin / lowinvariant from the topic page - solve or revisit Necessary Roads as the clean bridge rep
- reopen the Low-Link hot sheet until the bridge/articulation inequalities are automatic
- then move to
Necessary CitiesandForbidden Cities
Exit Criteria¶
You are ready to move on when:
- you can explain
low[v]without formula-chasing - you no longer mix up
>and>= - you remember the root articulation rule automatically
- you can say whether the next structure should be a bridge tree or a block-cut tree
External Practice¶
- CSES - Necessary Roads
- CSES - Necessary Cities
- CSES - Forbidden Cities
- Library Checker - Two-Edge-Connected Components