Open In App

GATE | GATE-CS-2006 | Question 11

Like Article
Like
Save
Share
Report

Consider a weighted complete graph G on the vertex set {v1, v2, ..vn} such that the weight of the edge (vi, vj) is 2|i-j|. The weight of a minimum spanning tree of G is: (GATE CS 2006)
(A) n — 1
(B) 2n — 2
(C) nC2
(D) 2


Answer: (B)

Explanation: See Question 5 of https://www.geeksforgeeks.org/data-structures-and-algorithms-set-7/

Quiz of this Question


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads