1.

In average case Heap sort is as efficient as the Quick sort.(a) True(b) FalseI got this question in examination.The above asked question is from Heapsort in chapter Sorting of Data Structures & Algorithms II

Answer» RIGHT option is (b) False

For explanation: Quick sort is more EFFICIENT than Heap sort because EXPERIMENTS indicate that Heap sort requires twice as much TIME as Quick sort for randomly sorted INPUT.


Discussion

No Comment Found

Related InterviewSolutions