I'm little bit confuse if which algorithm is faster. I know in worst case quicksort O(n^2) and merger sort is O(nl0gn).
I think that merger is faster since is O(nlogn)
I'm little bit confuse if which algorithm is faster. I know in worst case quicksort O(n^2) and merger sort is O(nl0gn).
I think that merger is faster since is O(nlogn)