Gupshup interview question

Problem on Kth largest element

Interview Answer

Anonymous

2 Sept 2020

Optimal solution using priority queue but he asked specifically to do non optimal solution which was pretty easy.

1