A binary heap satisfies the heap property. The binary heap can be max or min-heap
A binary heap is a complete binary tree.
In a complete binary tree, all the levels except the last level are completely filled. At the last level, the keys are as far as left as possible.
Comments
Post a Comment