bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
Learn/DSA

DSA

Minimum Spanning Tree

Connecting every node in a graph at the lowest total cost with Prim's and Kruskal's algorithms.

Lesson 1

DSA Minimum Spanning Tree

The Minimum Spanning Tree (MST) is the collection of edges required to connect all vertices in an undirected graph, with the minimum total edge weight.

Read lesson →Loading…
Lesson 2

DSA Prim's Algorithm

Prim's algorithm was invented in 1930 by the Czech mathematician Vojtěch Jarník.

Read lesson →Loading…
Lesson 3

DSA Kruskal's Algorithm

Kruskal's algorithm finds the Minimum Spanning Tree (MST), or Minimum Spanning Forest, in an undirected graph.

Read lesson →Loading…

DSA chapters

All
1. DSA Tutorial2. Arrays3. Linked Lists4. Stacks & Queues5. Hash Tables6. Trees7. Graphs8. Shortest Path9. Minimum Spanning Tree10. Maximum Flow11. Time Complexity12. DSA Reference13. Practice