About 283,000 results
Open links in new tab
  1. Prim’s Algorithm for Minimum Spanning Tree (MST)

    Dec 25, 2025 · Prim’s algorithm is a Greedy algorithm like Kruskal's algorithm. This algorithm always starts with a single node and moves through several adjacent nodes, in order to explore all of the …

  2. Prim's algorithm - Wikipedia

    In computer science, Prim's algorithm is a greedy algorithm that finds a minimum spanning tree for a weighted undirected graph. This means it finds a subset of the edges that forms a tree that includes …

  3. Prims Minimal Spanning Tree - Online Tutorials Library

    The algorithm, similar to any shortest path algorithm, begins from a vertex that is set as a root and walks through all the vertices in the graph by determining the least cost adjacent edges.

  4. DSA Prim's Algorithm - W3Schools

    Prim's algorithm was invented in 1930 by the Czech mathematician Vojtěch Jarník. The algorithm was then rediscovered by Robert C. Prim in 1957, and also rediscovered by Edsger W. Dijkstra in 1959. …

  5. Minimum Spanning Tree - Prim's Algorithm - Algorithms for …

    Jun 30, 2025 · This algorithm was originally discovered by the Czech mathematician Vojtěch Jarník in 1930. However this algorithm is mostly known as Prim's algorithm after the American mathematician …

  6. Prim's Algorithm - University of Michigan

    Prim's algorithm is very similar to Kruskal's: whereas Kruskal's "grows" a forest of trees, Prim's algorithm grows a single tree until it becomes the minimum spanning tree. Both algorithms use the greedy …

  7. Prim's Algorithm - TUM

    Prim's algorithm is a greedy algorithm (a problem solving heuristic of making the locally optimal choice at each stage with the hope of finding a global optimum) that efficiently finds the minimum spanning …

  8. Prim’s Algorithm: A Comprehensive Guide to Minimum Spanning Trees

    Prim’s algorithm, developed by computer scientist Robert C. Prim in 1957, is a greedy algorithm that finds a minimum spanning tree for a weighted, undirected graph.

  9. Prim's Algorithm - Programiz

    Prim's algorithm is a minimum spanning tree algorithm that takes a graph as input and finds the subset of the edges of that graph which form a tree that includes every vertex

  10. Prim's Algorithm in Python - GeeksforGeeks

    Jul 23, 2025 · Prim's algorithm is a greedy algorithm used to find the Minimum Spanning Tree (MST) of a connected, undirected graph. The MST is a subset of the edges that connects all vertices in the …