333
правки
Изменения
→siftDown
'''if''' right < A.heapSize '''and''' A[right] <= A[left]
j = right
'''else if''' A[left] <= > A[j] j = left'''break'''
swap(A[i], A[j])
i = j