How to implement kruskal algorithm in C++?
I mean I want to implement the Kruskal algorithm and extract the time complexity of the algorithm then compare this algorithm with PRIM algorithm about their complexity to find out the most efficient algorithm from them. please guide me.