About 263,000 results
Open links in new tab
  1. 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 …

  2. Prim’s Algorithm for Minimum Spanning Tree (MST)

    Aug 29, 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 …

  3. Prims Minimal Spanning Tree - Online Tutorials Library

    The final program implements Prims minimum spanning tree problem that takes the cost adjacency matrix as the input and prints the spanning tree as the output along with the …

  4. 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 …

  5. Prim’s Algorithm: A Comprehensive Guide to Minimum Spanning …

    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.

  6. 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. …

  7. Prim's Algorithm: Quick Guide with Examples - Hackr

    May 28, 2025 · When you're tasked with finding a cost-effective way to link components in a network, you'll need to use Prim's Algorithm.

  8. 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 …

  9. Prim's Algorithm - University of Wisconsin–Madison

    Prim's algorithm is a greedy algorithm that finds a MST (minimum spanning tree) for a weighted undirected graph. This means it finds a subset of the edges that forms a tree that includes …

  10. Prim algorithm - minimum spanning tree

    Prim's algorithm receives a graph G= (V, E) and creates from it a minimum spanning tree G'= (V, E'). What is a minimum spanning tree? Suppose G= (V,E) is an undirected and connected …