GATE Computer ScienceVery hardGATE CS (PYQ pattern)

An undirected graph has vertices 0–11 and edges 0-1, 1-2, 2-0, 2-3, 3-4, 4-5, 5-3, 5-6, 6-7, 7-8, 8-6, 1-9, 9-10, 10-1, 4-11. Let a be its number of articulation points and b its number of bridges. What is (a, b)?

  1. A. (6, 3)
  2. B. (6, 2)
  3. C. (4, 3)
  4. D. (7, 3)

Correct answer: A. (6, 3)

The blocks are the triangles {0,1,2}, {3,4,5}, {6,7,8}, {1,9,10} and the bridges 2-3, 5-6, 4-11. Cut vertices are the vertices in two or more blocks: 1, 2, 3, 4, 5, 6 (a = 6). The bridges are exactly the edges on no cycle: b = 3. Missing the pendant bridge 4-11 gives b = 2.

More Algorithms questions

Exams that ask this topic