Past Meetup

50 Algos in 50 Weeks: Implementing Kruskal's algorithm

This Meetup is past

34 people went

Location image of event venue


Kruskal's algorithm is a greedy algorithm ( in graph theory ( that finds a minimum spanning tree ( for a connected ( weighted graph ( This means it finds a subset of theedges ( that forms a tree that includes every vertex (, where the total weight of all the edges in the tree is minimized. If the graph is not connected, then it finds aminimum spanning forest (a minimum spanning tree for each connected component (

This algorithm first appeared in Proceedings of the American Mathematical Society (, pp. 48–50 in 1956, and was written by Joseph Kruskal (

Other algorithms for this problem include Prim's algorithm (, Reverse-Delete algorithm (, and Borůvka's algorithm (