0 votes 0 votes closed as a duplicate of: minimum spanning tree A complete graph G with 5 nodes has positive weight edges, each node has a distinct weight with an integer value and maximum weight is equal to number of edges in G. What can be the maximum weight of minimum spanning tree for graph G? Algorithms algorithms minimum-spanning-tree testbook-test-series + – Sahil_Lather asked Jan 28, 2023 • closed Jan 28 by Hira Thakur Sahil_Lather 427 views comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Sahil_Lather commented Jan 29, 2023 reply Follow Share Should i add what explanation is given? 0 votes 0 votes Kabir5454 commented Jan 29, 2023 reply Follow Share yes 14 is correct . This will be the graph .try finding mst here. 0 votes 0 votes Sahil_Lather commented Jan 29, 2023 reply Follow Share How this graph is made , could you explain a bit. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Complete graph → https://en.wikipedia.org/wiki/Complete_graph Here just make a complete graph, and give every edge a distinct weight $(1- 10)$, maximum weight is equal to number of edges in G as here no. of edges are 10 so the maximum weight is also 10. no. of edges in a complete graph = $\frac{n(n-1)}{2}$ Now just use prims or kruskals algorithm to find the MST. Pranavpurkar answered Jan 30, 2023 Pranavpurkar comment Share Follow See all 0 reply Please log in or register to add a comment.