Heap is a special balanced binary tree data structure where root-node
key is compared with its children and arranged accordingly. A min-heap, a
parent node has key value less than its childs and a max-heap parent
node has value greater than its childs.
No comments:
Post a Comment