Heap

Home > Computer Science > Algorithms and data structures > Trees > Heap

A complete binary tree where all nodes follow the heap property: either the parent node is greater than its children (max-heap) or smaller than its children (min-heap).