Consider the following graph:

Which one of the following cannot be the sequence of edges added, in that order, to a minimum spanning tree using Kruskal’s algorithm?
View worked solution
Answer: D
Kruskal's algorithm finds a Minimum Spanning Tree (MST) by processing and adding edges in strictly non-decreasing order of their weights. If multiple edges have the same weight, they can be processed in any arbitrary order.
From the given graph, the weights of the edges included in the MST are:
According to Kruskal's algorithm, any valid sequence of edge additions must satisfy the weight order:
This means:
- The first two edges added must be and (in any order).
- The next two edges added must be and (in any order).
- The last edge added must be .
In Option D, the sequence is . Here, (weight ) is added before (weight ), which violates the non-decreasing weight requirement of Kruskal's algorithm.
Free practice · Your answers on this page are not saved.
