Understanding the Heap Datastructure
Understanding the Heap Datastructure
Introduction
Heap(specifically binary heap) is a special data structure which can be viewed as a nearly complete binary tree. This post is mostly focused on understanding the heap datastructure
The first few impressions about heap after reading the above line:
The height of the binary tree would be minimum. For e.g.: if the tree has N nodes, the height would be logN.
The tree can also be stored…
View On WordPress









