Two Charactics of Min Heap
A Min Heap is represented as a binary tree, this binary tree has two characteristics:
- value of a parent node are smaller than which of its child nodes
- the binary tree is a complete binary tree
- a complete binary tree is defined as:
- each level …