heap down
Introduction
In Data Structures, a Heap is a special tree-based structure that follows two rules:
It is a Complete Binary Tree
It follows the Heap Property
Max Heap → Parent ≥ Children
Min Heap → Parent ≤ Children
When this heap property is v...
yesamitsingh.hashnode.dev3 min read