Question 1Easy
Which property guarantees that a graph's MST is unique?
- The graph is directed
- The graph is bipartite
- The graph has no cycles of length 3
- All edge weights are distinct
Answer: D. All edge weights are distinct
Explanation
With distinct weights, every cut has a unique lightest edge, which forces the tree.
Step-by-step solution
- If all edge weights differ, there is no tie between choices.
- Every cut has a unique lightest edge.
- So the MST is unique.
Why the other options are wrong
- A. MSTs are defined for undirected graphs.
- B. Bipartiteness is unrelated.
- C. Triangle-free graphs can still have equal weights giving several MSTs.