time complexity of kruskal's algorithm code example Example: kruskal algorithm time complexity Time complexity:- O(ElogV)