GATE CS 2016, set 1 · Question 50 · Algorithms · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

G = (V,E) is an undirected simple graph in which each edge has a distinct weight, and e is a particular edge of 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
Answer

Answer (B)

Answer from the official GATE CS 2016 answer key.

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