Similar questions 2 more →
Graph Algorithms

Answer & solution
Official answer: 995
1. The 300 graph edges do not all belong to the spanning tree. Connectedness makes every spanning tree have exactly |V|−1=99 edges, so the increment is 99·5 rather than 300·5. Because all candidate trees receive the same increment, a previously minimum tree remains minimum.
2. Every spanning tree on 100 vertices has 99 edges. Adding5 to every edge increases every spanning-tree weight by exactly 495, preserving their ordering and the set of minimum spanning trees. The new minimum weight is 500+495=995.