GATE CS 2016 · Set-1 · Graph Traversals (BFS & DFS)

MCQ · 2 marks · Problem PROG-GRPH-0067

G = (V,E) is an undirected simple graph in which each edge has a distinct weight,and e is a particular edgeof G. Which of the following statements about the minimum spanning trees (MSTs) of G is/are TRUE? I. If e is the lightest edge of some cycle in G, then every MST of G includes e II. If e is the heaviest edge of some cycle in G, then every MST of G excludes e
  1. A
    I only
  2. B
    II only
  3. C
    both I and II
  4. D
    neither I nor II

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

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/39727/gate2016-1-40

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