Heap is a tree-based data structure that follows the properties of a complete binary tree and is either a Min Heap or a Max Heap.
Visit the following resources to learn more: