Data Structures & AlgorithmsHardICPC regional · GATE CS

Connected simple undirected graph on vertices 0 to 7 with edges: 1–5, 3–4, 2–6, 0–5, 1–6, 3–5, 3–7, 2–5. How many articulation points (vertices whose removal disconnects the graph) does it have?

  1. A. 4
  2. B. 1
  3. C. 2
  4. D. 3

Correct answer: C. 2

Removing each vertex and checking whether the rest stays connected finds 2 cut vertices. The bridge count (4), the leaf count (3) and the cycle rank (1) are the traps.

More Trees, Graphs, Recursion and Dynamic Programming questions

Exams that ask this topic