Learn Heap Data-Structure in Easiest Way
Heap is a special Tree based Data-Structure in which the tree is a complete binary tree.
It is generally of two types -
Max-heap - where the root node must be greatest among all its child nodes and the same goes for its right subtree and left subtre...
blog.ratishfolio.com4 min read