Neocortex 🧠

Search

Search IconIcon to open search

Kruskal's Algorithm

Last updated Jan 24, 2022 Edit Source

In order to create the minimum spanning tree of a graph, the kruskal’s algorithm takes the following approach:

Kruskal’s algoritm runs in $O(mlogn)$ time. Where $m$ is the number of edges while $n$ is the number of vertices.


Interactive Graph