GATE CS 2022 · Graph Traversals (BFS & DFS)

MSQ · 2 marks · Problem PROG-GRPH-0047

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\subseteq V\) be such that \(S\neq \phi\) and \(S\neq 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.

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

Show the worked solutionOfficial GATE Answer Key: A, B, C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/371897/Gate-cse-2022-question-39

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