...

/

Challenge 1: Convert Max-Heap to Min-Heap

Challenge 1: Convert Max-Heap to Min-Heap

Given a max heap, convert it into a min heap.

Problem statement

Implement a function convertMax(List<int> maxHeap), ...