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



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

Answer / sandeep vimal

No.

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.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

How is it possible to insert different type of elements in stack?

7 Answers   TCS,


Can treemap have duplicate values?

0 Answers  


Write is a binary search tree? Write an algorithm and tell complexity?

0 Answers   ITC Indian Tobacco Company,


How to cut or remove an element from the array?

0 Answers  


Which interfaces are implemented by enumset?

0 Answers  






Which is faster list or set?

0 Answers  


Why do we use insertion sort?

0 Answers  


What are the operations that can be performed on a stack?

0 Answers  


What is the difference between dictionary and hashtable?

0 Answers  


How do you empty an arraylist?

0 Answers  


How can you implement a stack?

0 Answers   NIIT,


Does array sort mutate?

0 Answers  


Categories