Examveda

What is the average number of comparisons used to heap sort a random permutation of N distinct items?

A. 2N log N-O(N)

B. 2N log N-O(N log N)

C. 2N log N-O(N log log N)

D. 2N log N-O(log N)

Answer: Option C


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms