Q.

What is the worst-case time for heap sort to sort an array of n elements?

A. O(log n).
B. O(n).
C. O(n log n).
D. O(n²).
Answer» C. O(n log n).
3.8k
0
Do you find this helpful?
25

View all MCQs in

Data Structures (DS)

Discussion

No comments yet

Related MCQs