TRAINING CATEGORIES
TRAINING PROGRAMS
Problem Statement:
Given an array of elements, sort the array in decreasing order using min heap.
Example
Input:
>arr[] = {5, 3, 10, 1}
Output:
arr[] = {10, 5, 3, 1}
We use cookies to make interactions with our websites and services easy and meaningful. Please read our Privacy Policy for more details.