GATE Computer ScienceVery hardGATE CSE · UGC NET

How many distinct spanning trees does the complete bipartite graph K(3,4) have?

  1. A. 288
  2. B. 600
  3. C. 16807
  4. D. 432

Correct answer: D. 432

By the matrix-tree theorem (verified by determinant), K(m,n) has m^(n−1)·n^(m−1) = 3^3·4^2 = 432 spanning trees.

More Algorithms questions

Exams that ask this topic