Skip to content

Glossary: Algorithms Beyond the Basics in Java

Prim's algorithm

Also written: Prim

Another way to build a minimum spanning tree, by growing a single tree outward from one start place with a heap.

Where the book teaches it

Related terms

Kruskal's algorithmminimum spanning tree