Data Structures Question:
Download Questions PDF

Does the minimum spanning tree of a graph give the shortest distance between any 2 specified nodes?

Answer:

Minimal spanning tree assures that the total weight of the tree is kept at its minimum. But it doesn't mean that the distance between any two nodes involved in the minimum-spanning tree is minimum.

Download Data Structures Interview Questions And Answers PDF

Previous QuestionNext Question
What is a spanning Tree in data structure?Whether Linked List is linear or Non-linear data structure?