InterviewSolution
Saved Bookmarks
| 1. |
Which one of the following is false?(a) Heap sort is an in-place algorithm(b) Heap sort has O(nlogn) average case time complexity(c) Heap sort is stable sort(d) Heap sort is a comparison-based sorting algorithmThe question was posed to me during an interview.Question is from Heapsort in section Sorting of Data Structures & Algorithms II |
|
Answer» Right option is (c) Heap sort is stable sort |
|