• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

GATE | GATE CS Mock 2018 | Question 37

Let G = (V, E) be any connected undirected edge-weighted graph. The weights of the edges in E are positive. Consider the following statements:
  1. The path between a pair of vertices in a minimum spanning tree of an undirected graph is necessarily the shortest (minimum weight) path.
  2. Minimum Spanning Tree of G is always unique and shortest path between a pair of vertices may not be unique.
Which of the above statements is/are necessarily true?

(A)

(1) only

(B)

(2) only

(C)

both (1) and (2)

(D)

neither (1) nor (2)

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments