About 203,000 results
Open links in new tab
  1. Kruskal's algorithm - Wikipedia

    Kruskal's algorithm[1] finds a minimum spanning forest of an undirected edge-weighted graph. If the graph is connected, it finds a minimum spanning tree. It is a greedy algorithm that in each …

  2. Kruskal's Algorithm | Brilliant Math & Science Wiki

    Kruskal's algorithm is a good example of a greedy algorithm, in which we make a series of decisions, each doing what seems best at the time. The local decisions are which edge to add …

  3. Kruskal’s Minimum Spanning Tree (MST) Algorithm

    Dec 20, 2025 · Below are the steps for finding MST using Kruskal's algorithm: Sort all the edges in a non-decreasing order of their weight. Pick the smallest edge. Check if it forms a cycle with …

  4. 10.7. Kruskal’s Algorithm — Data Structures & Algorithms

    Oct 25, 2024 · Our next MCST algorithm is commonly referred to as Kruskal’s algorithm. Kruskal’s algorithm is also a simple, greedy algorithm. First partition the set of vertices into \ (|\mathbf …

  5. Complete Kruskal's Algorithm Guide: MST & Code Examples

    Jan 30, 2025 · Learn Kruskal's Algorithm, its step-by-step process to find Minimum Spanning Trees (MST), and how it optimizes graph problems in real-world applications.

  6. Kruskal’s algorithm is rather simple and what you might come up with by thinking about this problem: at each step, add the smallest edge to a set which does not form a cycle with edges …

  7. Kruskal's Algorithm - Programiz

    Kruskal's algorithm is a minimum spanning tree algorithm that takes a graph as input and finds the subset of the edges of that graph.

  8. Kruskals Minimal Spanning Tree Algorithm - Online Tutorials Library

    Construct a minimum spanning tree using kruskals algorithm for the graph given below −. As the first step, sort all the edges in the given graph in an ascending order and store the values in an …

  9. Kruskal's Algorithm (CS 400)

    Kruskal's algorithm builds a minimum-spanning tree (MST) for a weighted and undirected graphs in the fastest way by using the weights. Sort all edges in a non-decreasing weight order. Start …

  10. Kruskal's Algorithm - TUM

    Kruskal'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 …