GATE Computer ScienceVery hardGATE CS (PYQ pattern)

What is the smallest m such that every simple undirected graph with 12 vertices and m edges is 2-connected (connected, and stays connected after deleting any one vertex)?

  1. A. 56
  2. B. 66
  3. C. 57
  4. D. 55

Correct answer: C. 57

A graph with a cut vertex can have as many as C(11, 2) + 1 = 56 edges (K₁₁ plus one pendant vertex), and this is the maximum; so m = 57 forces 2-connectivity. 56 is the threshold for mere connectivity (C(11,2) + 1); the formula was brute-force checked for 5 and 6 vertices.

More Algorithms questions

Exams that ask this topic