Software Engineering KB

Home

❯

01 Foundations

❯

00 Data Structures

❯

02 Sub Concept

❯

Kruskals Algorithm

Kruskals Algorithm

Feb 10, 20261 min read

  • property
  • algorithms
  • union-find

Kruskals Algorithm

← Back to Disjoint Set Union-Find

Greedy algorithm for minimum spanning tree. Sort edges by weight, add each edge if it doesn’t create a cycle (checked via Union-Find). Time O(E log E).

property algorithms union-find


Graph View

Backlinks

  • Disjoint Set Union-Find

Created with Quartz v4.5.2 © 2026

  • GitHub