...

/

Challenge 1: Convert Max-Heap to Min-Heap

Challenge 1: Convert Max-Heap to Min-Heap

Try to solve the Convert Max Heap to Min Heap problem.

Statement

Given a list representing a max heap, convert this into a min heap.

Constraints:

  • 00\leq maxheap.length ...