The Minimum Spanning Tree Problem
Get introduced to the minimum spanning tree problem.
We'll cover the following
Defining the problem
The minimum spanning tree (MST) problem deals with connected, weighted, undirected graphs . Here, the weights can be interpreted as costs, and the goal is to select some subset of edges that connect the nodes of in a cost-optimal way. In particular, we want
- contains enough edges such that they connect all nodes of
- the total cost of the edges in is as small as possible.
As an example, consider the following weighted graph:
Get hands-on with 1400+ tech skills courses.