0 votes 0 votes A complete graph G with 5 nodes has positive weight edge ,each node has distinct weight with an integer value and maximum weight is equal to the number of edges in G.What can be the maximum weight of minimum spanning tree for graph G? Algorithms minimum-spanning-tree algorithms + – set2018 asked Nov 11, 2017 set2018 630 views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments saxena0612 commented Nov 11, 2017 reply Follow Share Yes ! Corrected ! 0 votes 0 votes set2018 commented Nov 11, 2017 reply Follow Share answer given 14 0 votes 0 votes Shubhanshu commented Nov 11, 2017 reply Follow Share Answer should be 14. 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes total no of nodes = 5 then total no. of edges will be n(n-1)/2 =10 as given in question max weight will be 10. hence, max weight of spanning tree will be 14. Akash Mittal answered Nov 11, 2017 Akash Mittal comment Share Follow See all 2 Comments See all 2 2 Comments reply $ruthi commented Nov 12, 2017 reply Follow Share can we give 1 to 10 numbers to any of the edges ? if yes then we can get 13 or 15 and so on as answers right ? 0 votes 0 votes Akash Mittal commented Nov 12, 2017 reply Follow Share yes, we can give randomly 1 to 10 but the resulting spanning tree must give max edge weights thats our main goal. 0 votes 0 votes Please log in or register to add a comment.