Examveda

What is the primary advantage of Heap Sort over Quick Sort?

A. It has a guaranteed time complexity of O(n log n) in the worst case.

B. It is stable.

C. It sorts the data in place.

D. It uses less memory than Merge Sort.

Answer: Option A


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms