One Bridge Two Cutpoints
Undirected graph: two triangles joined by a single edge.
DFS from 0, neighbours in increasing order, gives:
| vertex | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
tin |
0 | 1 | 2 | 3 | 4 | 5 |
low |
0 | 0 | 0 | 3 | 3 | 3 |
Tree edges are 0-1, 1-2, 2-3, 3-4, 4-5. Using low[to] > tin[v] for a bridge and low[to] >= tin[v] for an articulation point on a non-root vertex, what do you get?
Sign in to answer questions and track your progress
Sign In