heap 최악의 경우에 시간복잡도는 O(nlog2n) heap은 2가지 조건을 만족한다. 1. complete binary tree 2. heap property를 만족해야 함. - max heap property : 부모 노드 값 >= 자식 - min heap property : 부모 노드 값 Computer science/Algorithm 2020.11.26