GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2022

GATE 2022 · CS · MSQ · 2 marks · Algorithms › Greedy Algorithms

GATE 2022 Computer Science and Information Technology question: Consider a simple undirected weighted graph G, all of whose edge weights are distinct.…

Consider a simple undirected weighted graph , all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of is/are TRUE?

  1. (A)

    The edge with the second smallest weight is always part of any minimum spanning tree of .

  2. (B)

    One or both of the edges with the third smallest and the fourth smallest weights are part of any minimum spanning tree of .

  3. (C)

    Suppose be such that and . Consider the edge with the minimum weight such that one of its vertices is in and the other in . Such an edge will always be part of any minimum spanning tree of .

  4. (D)

    can have multiple minimum spanning trees.

Show answer

Official answer: A,B,C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion