Consider a complete undirected graph with vertex set {0, 1, 2, 3, 4}. Entry…

GATE · 2010 · CS · Computer Science & IT

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}.

W = (018141012498120731470249320)\begin{pmatrix} 0 & 1 & 8 & 1 & 4 \\ 1 & 0 & 12 & 4 & 9 \\ 8 & 12 & 0 & 7 & 3 \\ 1 & 4 & 7 & 0 & 2 \\ 4 & 9 & 3 & 2 & 0 \end{pmatrix}

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?

  1. A.

    7

  2. B.

    8

  3. C.

    9

  4. D.

    10

Attempted by 166 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…