AJIO interview question

Kth largest element using priority queue.