Open In App

GATE | GATE CS 2010 | Question 50

Consider a complete undirected graph with vertex set {0, 1, 2, 3, 4}. Entry Wij in the matrix W below is the weight of the edge {i, j}.

What is the minimum possible weight of a spanning tree T in this graph such that vertex 0 is a leaf node in the tree T?
(A) 7
(B) 8
(C) 9
(D) 10

Answer: (D)
Explanation: See question 1 of https://www.geeksforgeeks.org/data-structures-and-algorithms-set-25/amp/
Quiz of this Question

Article Tags :