Question:What is the worst-case scenario for heapsort to sort an array of n elements? 

A O(log n) 

B O(n) 

C O(n log n) 

D O(n2) 

+ Answer
+ Report
Total Preview: 1451

Copyright © 2024. Powered by Intellect Software Ltd