ravya1108 / hactoberfest2023

20 stars 257 forks source link

Max Heap Sort and Min Heap Sort #206

Closed knockcat closed 10 months ago

knockcat commented 11 months ago

// Heap Sort (Max) Ascending Order Sorting

/ Time Complexity Overall : O(nlogn) for creating and building heap: O(n) /

// Heap Sort (Min) Descending Order Sorting

/ Time Complexity Overall : O(nlogn) for creating and building heap: O(n) /