In computer science, Prim's algorithm is a greedy algorithm that finds a minimum spanning tree for a conn ...
en.wikipedia.org