Consider the following graph:

Which one of the following is NOT the sequence of edges added to the minimum spanning tree using Kruskal’s algorithm?
View worked solution
Answer: D
In Kruskal's algorithm, edges are considered and added to the Minimum Spanning Tree (MST) in strictly non-decreasing order of their weights, provided they do not form a cycle.
From the given graph, the weights of the relevant edges are:
Since Kruskal's algorithm must process all edges of weight before any edge of weight :
- Both and (each of weight ) must be processed and added before (weight ).
Let's analyze Option D: (b, e) (e, f) (b, c) (a, c) (f, g) (c, d)
Here, the edge with weight is added before the edge with weight . This violates the greedy choice property of Kruskal's algorithm. Thus, Option D is NOT a valid sequence.
Free practice · Your answers on this page are not saved.
