Skip to content

Glossary: Algorithms Beyond the Basics in Go

Prim's algorithm

Also written: Prim

Another way to build a minimum spanning tree: grow one tree from a start place, using a heap.

Where the book teaches it

Related terms

Kruskal's algorithmMinimum spanning tree