Similar questions 4 more →
Graph Algorithms

Answer & solution
Official answer: 3
Step through it (13 steps)
The seven weight 0.1 edges form a forest with two components: the top row of three vertices and the remaining six vertices. All seven cheap edges can be included without a cycle. Connecting these components requires one weight 0.9 edge; exactly the three vertical links between the top and middle rows do so. Each choice gives total weight 1.6, and any tree using fewer cheap edges is more expensive. Therefore exactly 3 MSTs.
A spanning tree on nine vertices needs eight edges. The seven cheap edges are acyclic and leave precisely two components, so Kruskal's algorithm accepts all seven before considering weight .9. Among the expensive edges only ad,be,cf cross that component cut; ef and gh stay within the lower component and create cycles. Thus each MST contains seven cheap edges and one of those three cross edges. This proves both attainability and exhaustiveness rather than merely counting three plausible trees.