Once you attempt the question then PrepInsta explanation will be displayed.
(A,D)=7 (First minimum weightage edge from A that connect edge D )
(A,B)=10 (Now from A second minimum edge that connects edge B)
(D,F)=22 (Now from D there is minimum edge which connects edge F )
(F,C)=4 (Now from F there is minimum edge which connects edge C )
(F,G)=5 (Now from F there is minimum edge which connects edge G )
(G,E)=2 (Now from G there is minimum edge which connects edge E)
So all the vertices are cover and the above sequence is followed to find the MST.
Login/Signup to comment