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