Challenge: heap sorting
Closed this issue · 0 comments
negin-ahmadi commented
Create a Python function named heap_sort that takes a list of integers as input and returns a new list containing the numbers sorted in ascending order using the Heap Sort algorithm.