Solution: Convert Max Heap to Min Heap
Let’s solve the Convert Max Heap to Min Heap problem.
We'll cover the following...
Statement
Given an array representing a max heap, convert this into a min heap.
Constraints:
max_heap.length
...
Access this course and 1400+ top-rated courses and projects.