GATE 2022 · CS · MSQ · 2 marks · Algorithms › Greedy Algorithms
GATE 2022 Computer Science and Information Technology question: Consider a simple undirected weighted graph G, all of whose edge weights are distinct.…
Consider a simple undirected weighted graph G, all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of G is/are TRUE?
- (A)
The edge with the second smallest weight is always part of any minimum spanning tree of G.
- (B)
One or both of the edges with the third smallest and the fourth smallest weights are part of any minimum spanning tree of G.
- (C)
Suppose S⊆V be such that S=ϕ and S=V. Consider the edge with the minimum weight such that one of its vertices is in S and the other in V∖S. Such an edge will always be part of any minimum spanning tree of G.
- (D)
G can have multiple minimum spanning trees.
Show answer
Official answer: A,B,C
Practise this question with exam-style marking