[Solved] Kth Maximum element of Max-Heap Contest Problem
Kth Maximum element of Max-Heap: Given a max heap array mHeap of positive integers of size N and a positive integer k. The task is to find the kth maximum element of the heap. Kth Maximum element of Max-Heap Contest Problem Input:First line of input contains T, denoting the…