A complete undirected graph G is given on the vertex set 0 to (n – 1) for a…

A complete undirected graph G is given on the vertex set 0 to (n – 1) for a fixed value of ‘n’. Draw the minimum spanning tree (MST) of a graph G, for the following cases and find the cost of MST: i) weight of the edge (u, v) is |u – v| ii) weight of the edge (u, v) is |u + v|

  1. A.

    (n-1),n* (n-1)/2

  2. B.

    none

  3. C.

    (n-1)+1,n^2/2

  4. D.

    n,n* (n-1)/2

Attempted by 126 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…