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