Reputation: 49
May I ask What sorting method that uses O(log(n)) comparison (eg: arrange items in unsorted arr2 into a sorted arr1 in a sorted order)?
Upvotes: 0
Views: 56
Reputation: 9658
None.
Several algorithms are in O(n*log(n)) though: merge sort, heap sort, quick sort, etc...
Upvotes: 2