GATE CS 2022 · Question 49 · Algorithms · Multiple select (MSQ) · 2 marks · no negative marks

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

  1. (A) The edge with the second smallest weight is always part of any minimum spanning tree of G.
  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 G.
  3. (C) Suppose S ⊆ V be such that S ≠ φ and S ≠ V. Consider the edge with the minimum weight such that one of its vertices is in S and the other in V ∖ S. Such an edge will always be part of any minimum spanning tree of G.
  4. (D) G can have multiple minimum spanning trees.
Answer

Answer (A), (B), (C)

Answer from the official GATE CS 2022 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes