from structure.heap import *

def heap_sort(list): #O(nlg n)
    h = heap(list)
    h.heap_sort()
    return h.A[1:]

e70fcace17cc8823d508ee0deec5328c3f32cbc9
<mask token>

<mask token>


def heap_sort(list):
    h = heap(list)
    h.heap_sort()
    return h.A[1:]

from structure.heap import *


def heap_sort(list):
    h = heap(list)
    h.heap_sort()
    return h.A[1:]

from structure.heap import *

def heap_sort(list): #O(nlg n)
    h = heap(list)
    h.heap_sort()
    return h.A[1:]
