Graphs · Exercise 48 of 100

Count articulation points

An articulation point is a vertex whose removal increases the number of connected groups in an undirected graph. To test one by hand, remove it with all its incident edges and check which remaining vertices can still reach one another.

Try it yourself

An undirected network has edges AB, BC, CA, CD, DE and DF. Testing each vertex on the original network, how many vertices are articulation points?

One-step hint

Cover one vertex and its incident edges, then see whether the remaining vertices can still reach one another. Uncover it before testing the next.

Worked solution
  1. Removing C separates A and B from D, E and F. Removing D instead leaves E and F isolated from the triangle and each other.
  2. Removing either A or B leaves the rest connected through C, and removing either leaf E or F breaks no link between remaining vertices. Only C and D qualify, giving 2.
DSA compiler