GATE CS 2017, set 1 · Question 26 · Algorithms · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
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?
- (A) (I) only
- (B) (II) only
- (C) both (I) and (II)
- (D) neither (I) nor (II)
Answer
Answer (A)
Answer from the official GATE CS 2017 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes