Lesson 7 of 10 • 1 upvotes • 5:53mins
Kruskal's algorithm is a minimum-spanning-tree algorithm which 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. Given a connected and undirected graph, aspanning tree of that graph is a subgraph that is a tree and connects all the vertices together. A single graph can have many different spanning trees. A minimum spanning tree (MST) or minimum weight spanning tree for a weighted, connected and undirected graph is a spanning tree with weight less than or equal to the weight of every other spanning tree. The weight of a spanning tree is the sum of weights given to each edge of the spanning tree.
10 lessons • 1h 21m
Top 10 Algorithms in Interview Questions: Introduction
6:31mins
Dynamic Programming Floyd Warshall Algorithm
10:19mins
Depth First Search or DFS for a Graph
5:47mins
Method 2 Linked List (make visited nodes)
5:47mins
Breadth First Search or BFS for a Graph
9:27mins
Boggle (Find all possible words in a Board of Characters)
8:21mins
Kruskal's Minimum Spanning Tree Algorithm
5:53mins
Given a singly Linked List and a position, delete a Linked List node at the given position
7:45mins
Disjoint set or (union - find) Algorithm of a Graph
10:07mins
Finding Bridges in a graph intro to the Algorithm
11:39mins