0

I think it should be false because there may be more than one edge with the same weight.

John L.
  • 39,205
  • 4
  • 34
  • 93

1 Answers1

1

Your are right. A simplest example would be a triangle with weight 1, 1, 1.

Did you see the "Search on Computer Science" button on top of this page? You may search for "unique minimum spanning tree" for many pertinent questions and answers. Or just search for "minimum spanning tree" for many related questions and answers. In fact, that is also a popular tag in this site.

You may find two definitive questions and answers at Are all MST minimum spanning trees reachable by Kruskal and Prim? and When is the minimum spanning tree for a graph not unique.

John L.
  • 39,205
  • 4
  • 34
  • 93