(array)
| 18 | heapify(array, i, length, max) |
| 19 | |
| 20 | def heap_sort(array): |
| 21 | build_heap_max(array) |
| 22 | size = len(array) |
| 23 | while size > 0: |
| 24 | array[0], array[size - 1] = array[size - 1], array[0] |
| 25 | heapify(array, 0, size - 1, max) |
| 26 | size -= 1 |
nothing calls this directly
no test coverage detected