Which of the following has a time complexity of O(n log n) in all cases?
Correct answer
D. Merge sort
D. Merge sort
The answer is Merge sort.
Asked in: Engineering Computer Engineering Practice
https://en.wikipedia.org/wiki/Data_structureNot sure why the answer is D? Ask here and get an explanation.