Trees & Connectivity

Answer & solution
Answer: C for n≥3 (no official key was published)
The adjacency matrix describes Kn with unit edge weights. Every spanning tree has n−1 edges and therefore cost n−1. For n≥3 there are multiple spanning trees (indeed nn−2), giving C. The prompt does not restrict n: K1 and K2 each have a unique spanning tree, so the multiple-tree assertion requires the nontrivial n≥3 convention.
The matrix describes a complete graph Kn. Interpreting all edges with unit weight, any spanning tree has n−1 edges and thus equal cost n−1. When n≥3, different trees exist, so C is intended. But n=1 or 2 gives a unique tree, which is why the unprinted size restriction must stay explicit. Neither a different tree shape nor a different traversal order changes total cost here.