GATE CS 2017 · Set-1 · Shortest Path Algorithms

MCQ · 2 marks · Problem PROG-GRPH-0062

Let G = (V, E) be any connected undirected edge-weighted graph. The weights of the edges in E are positive and distinct. Consider the following statements:(I) Minimum spanning tree of G is always unique. (II) Shortest path between any two vertices of G is always unique. Which of the above statements is/are necessarily true?
  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 A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/118306/gate2017-1-26

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