Binary Heaps
Build the heap mental model from a complete binary tree and its array representation. Explain min-heap and max-heap order, parent and child indices, and why heap order is not full sorting.
Build the heap mental model from a complete binary tree and its array representation. Explain min-heap and max-heap order, parent and child indices, and why heap order is not full sorting.