Asilshah006 / --Hacktoberfest_2022

Repository for Java, C++ and web Contribution
2 stars 17 forks source link

Heap-sort.java #7

Open NaseerShaikh1 opened 2 years ago

NaseerShaikh1 commented 2 years ago

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 minimum element and place the minimum element at the beginning. Repeat the same process for the remaining elements.