****************prims algo

after the 5th node why sir has taken 7th node

@ayu2321 time stamp?

after chosing node 5 (16:09)

@ayu2321 from what i can at when 5th node is taken , the smallest edge is 3 which will be discarded as both vertex was covered from this edge , then min edge 7 which is also discarded , then min edge 8 while leads to node 7 hence 7 chosen
hope its clear if yes dont forget to hit like and mark resolved :smiley: