Minimum Spanning TreeLesson 38Free preview
Minimum Spanning Tree
This lesson is part of DSA · All levels
Summary
A minimum spanning tree is a subgraph that includes all nodes with a total minimum weight without forming a cycle. The two classical algorithms for building it are the Prim that grows from a single node and the crucial that connects the smallest side. MST is useful for designing cheap networks like cables and pipes.
Key points
- MST includes all cyclic nodes with minimum weight
- On the connected graph, the MST has a side V-1.
- Prim grows from a single node, the crucial arranges all sides
- Application: network design, clustering, and pipeline
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.