I was doing an analysis of minimum spanning trees and was wondering how the sorting time would effect the overall time complexity of Kruskal's algorithm?
Example:
- If sorting can be done in
O(n log log n)
- If sorting can be done in
O(n)
Would the answer still remain O(e log n)
for both the cases or would it change?