Understanding Prim's and Kruskal's Algorithms for Minimum Spanning Trees
In computer science, Prim's algorithm is a greedy algorithm that identifies a minimum spanning tree for a weighted undirected graph. This process involves finding a subset of edges that connects all vertices with the least total edge weight.

Praromvo
711 views • May 26, 2016

About this video
In computer science, Prim's algorithm is a greedy algorithm that finds a minimum spanning tree for a weighted undirected graph. This means it finds a subset of the edges that forms a tree that includes every vertex, where the total weight of all the edges in the tree is minimized.
Kruskal's algorithm is a minimum-spanning-tree algorithm where the algorithm finds an edge of the least possible weight that connects any two trees in the forest.It is a greedy algorithm in graph theory as it finds a minimum spanning tree for a connected weighted graph adding increasing cost arcs at each step.
Kruskal's algorithm is a minimum-spanning-tree algorithm where the algorithm finds an edge of the least possible weight that connects any two trees in the forest.It is a greedy algorithm in graph theory as it finds a minimum spanning tree for a connected weighted graph adding increasing cost arcs at each step.
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
711
Likes
1
Duration
3:02
Published
May 26, 2016
Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.