0 votes 0 votes Let G be a connected simple graph with non distinct edge weights. Now, e be the lightest edge in G. So, does this edge e is present in every MST of G? My take - when all edge weights are same then lightest edge e won't be there. Algorithms algorithms minimum-spanning-tree + – iarnav asked Apr 28, 2018 iarnav 397 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes It may or may not be there depending on the graph. In graph A $\rightarrow$ e is forming a cycle so it is not included in at-least one MST. but in graph B $\rightarrow$ e is a bridge so it is there in every MST of G Soumya29 answered Apr 28, 2018 • edited Apr 28, 2018 by Soumya29 Soumya29 comment Share Follow See all 3 Comments See all 3 3 Comments reply Sambit Kumar commented Apr 28, 2018 reply Follow Share So In single sentence we can say that the lightest edge "e" doesn't present in the MST implies that edge "e" present in a cycle of graph G and every edge of the cycle has same weight. 2 votes 2 votes Soumya29 commented Apr 28, 2018 reply Follow Share Yes exactly. 0 votes 0 votes iarnav commented Apr 28, 2018 reply Follow Share Thanks all of you guys! :) 1 votes 1 votes Please log in or register to add a comment.
1 votes 1 votes it is false . if all edge weight are same then it may or may not include lightest edge. it is true for if all edge weight are distinct. abhishekmehta4u answered Apr 28, 2018 abhishekmehta4u comment Share Follow See all 0 reply Please log in or register to add a comment.