The number of distinct minimum-weight spanning trees of the following graph is _________

Answer
9
Explanation
Think of Kruskal’s algorithm, which takes the cheapest edges first.
- The four weight-1 edges \(ab, af, cd, de\) form no cycle, so every minimum spanning tree contains them. They leave three components: \(\{a, b, f\}\), \(\{c, d, e\}\) and \(\{g\}\).
- Two more edges are needed, and all weight-2 edges meet \(g\): \(ga, gb, gf\) reach the first component and \(gc, gd, ge\) the second. A tree takes exactly one from each group, since two from the same group would close a cycle.
- The weight-3 edges are never used.
So there are \(3 \times 3 = 9\) minimum spanning trees, each of weight 8.
Answer: 9