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.
- 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.