Kruskal S Algorithm
Kruskal s algorithm is used to find the minimum spanning tree for a connected weighted graph. This algorithm treats the graph as a forest and every node it has as an individual tree. Https Encrypted Tbn0 Gstatic Com Images Q Tbn 3aand9gcr Alonfycxhozhbkktlth9bzdae3efybf2yk7ctsy Usqp Cau Kruskal…