What is the worst-case time complexity of the Heap sort?
2018
What is the worst-case time complexity of the Heap sort?
Answer: C. O(n log n)
- A.
O(n)
- B.
O(n2)
- C.
O(n log n)
- D.
O(n3)
Attempted by 1251 students.
Show answer & explanation
Correct answer: C
Loading lesson…