Kruskal's Algorithm for Dense Graph
Hello, how can Kruskal's algorithm be modified to run in O(n^2) time in a dense graph of n nodes??
Codeforces Round 1123 Solution Discussion