hacktoberfest_2022 icon indicating copy to clipboard operation
hacktoberfest_2022 copied to clipboard

Create HeapSort

Open yash0650 opened this issue 3 years ago • 0 comments

Heap sort is a comparison-based sorting technique based on Binary Heap data structure. It is similar to the 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. Time complexity : O(N*logN) Auxiliary space: O(1)

yash0650 avatar Oct 03 '22 06:10 yash0650