A Min Heap is a specialized complete binary tree structure designed for efficient priority operations. In a min heap, every parent node maintains a value less than or equal to its children's values, meaning the smallest item is always at the root.
This mechanic visualizes the two primary mutations:
Visualizer will appear here