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

  4. Prims Minimal Spanning Tree - Online Tutorials Library

    To execute the prim's algorithm, the inputs taken by the algorithm are the graph G {V, E}, where V is the set of vertices and E is the set of edges, and the source vertex S. A minimum spanning tree of graph …

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

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

    One such algorithm that has stood the test of time is Prim’s algorithm, a powerful tool for finding the minimum spanning tree (MST) of a weighted, undirected graph. In this comprehensive guide, we’ll …

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

  8. Prim's Algorithm for Minimum Spanning Tree: Detailed Explanation …

    Jan 10, 2025 · In this detailed guide, we’ll explore every aspect of Prim’s Algorithm, from its working principles to real-world applications, complete with an implementation in C programming.

  9. Prim's Algorithm – Explained with a Pseudocode Example

    Feb 14, 2023 · In Computer Science, Prim’s algorithm helps you find the minimum spanning tree of a graph. It is a greedy algorithm – meaning it selects the option available at the moment. In this article, …

  10. Prim’s Algorithm: Example, Time Complexity, Code - Wscube Tech

    Sep 28, 2024 · Learn about the Prim algorithm with examples in this tutorial. Understand how it works, why it’s important, and how it can be applied to solve various problems.