GATE CS 2006 · Graph Traversals (BFS & DFS)

MCQ · 1 mark · Problem PROG-GRPH-0108

Consider a weighted complete graph G on the vertex set {\(v_{1},v_{2},...,v_{n}\)} such that the weight of the edge (\(v_{i},v_{j}\)) is 2|i-j|. The weight of a minimum spanning tree
  1. A
    n-1
  2. B
    2n-2
  3. C
    \(\binom{n}{2}\)
  4. D
    \(n^{2}\)

Solve it on GATE DA practice →More Graph Theory & Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/890/gate2006-11

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com