filmov
tv
Create Minimum Spanning Tree | Kruskal's Algorithm Explained and Implemented in Java | Geekific

Показать описание
In one of our very first introductory graph videos we explained what spanning trees are. Basically, any graph can span multiple other graphs, but not just any graph, trees in particular. And that is what we call a spanning tree for this graph. In other terms, a spanning tree is a connected sub-graph that contains all the graph vertices with the minimum possible number of edges; which is the number or vertices in the graph minus one. In this video, we explain and implement Kruskal’s algorithm, which is one way among many that identifies this minimum spanning tree.
Timestamps:
00:00 Introduction
00:58 What is Kruskal's Algorithm?
03:03 Kruskal's Algorithm Implementation
06:25 Testing our Code
06:56 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
#Geekific #Kruskal #GraphTheory #SpanningTree #MinimumSpanningTree
Комментарии