Explanation: in kruskal’s algorithm, the disjoint-set data structure efficiently identifies the components containing a vertex and adds the new edges. and kruskal’s algorithm always finds the mst for the connected graph.
Q. Kruskal’s algorithm can efficiently implemented using the disjoint-set data structure.
β
Correct Answer: (D)
s2 is true but s1 is false
Explanation by: Mr. Dubey
in kruskal’s algorithm, the disjoint-set data structure efficiently identifies the components containing a vertex and adds the new edges. and kruskal’s algorithm always finds the mst for the connected graph.
Discussion
Question Analytics
1010
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
84%
Success Rate