Question:medium

Consider the given two statements:
S1: Kruskal’s Algorithm might produce a non-minimal spanning tree.
S2: Kruskal’s Algorithm can be efficiently implemented using the disjoint set data structure.
Choose the correct answer from the options given below:

Show Hint

Always remember, Kruskal’s Algorithm guarantees an MST when applied on a connected and undirected graph.
Updated On: Feb 11, 2026
  • S1 is true but S2 is false
  • Both S1 and S2 are false
  • Both S1 and S2 are true
  • S2 is true but S1 is false
Show Solution

The Correct Option is D

Solution and Explanation

- S1 is false: Kruskal's Algorithm invariably constructs a minimal spanning tree by prioritizing edges of ascending weight and preventing cycle creation. - S2 is true: Disjoint set data structures facilitate efficient management of connected components throughout Kruskal's Algorithm execution.
Was this answer helpful?
0