McqMate
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). |
View all MCQs in
Data Structures (DS)No comments yet