Zilker Technology interview question

Heap sort

Interview Answer

Anonymous

3 Aug 2020

Heap sort is a comparison based sorting technique based on Binary Heap data structure. It is similar to selection sort where we first find the maximum element and place the maximum element at the end. We repeat the same process for remaining element.