Minimum spanning tree (MST) in Javascript


A minimum spanning tree (MST) or minimum weight spanning tree is a subset of the edges of a connected, edge-weighted (un)directed graph that connects all the vertices together, without any cycles and with the minimum possible total edge weight. That is, it is a spanning tree whose sum of edge weights is as small as possible.

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 15-Jun-2020

411 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements