Queue query: Find kth largest number

Need some hint for this question. https://hack.codingblocks.com/app/contests/2315/1337/problem