Data Structures & AlgorithmsHardGATE CS · ISRO Scientist

How many spanning trees of the cycle C_n are there for n = 12?

  1. A. 11
  2. B. 66
  3. C. 12
  4. D. 4096

Correct answer: C. 12

Use the closed-form count for this family: it follows from the standard counting argument (Cayley's formula, the Catalan recurrence, or Kirchhoff's matrix-tree theorem). Each distractor is a different formula that looks similar.

More Trees, Graphs, Recursion and Dynamic Programming questions

Exams that ask this topic