https://cs.slides.com/colt_steele/heaps

What is a Binary Heap?

Heap is a tree like structure

image.png

image.png

This is binary search tree but not a heap

MAX BINARY HEAP

A Max Binary Heap

Max-Heap.svg.png

image.png

A Min Binary Heap