Flipkart interview question

DSA question: implement stack that allows max element access in O(1), kth largest element was also asked

Interview Answer

Anonymous

2 Apr 2024

I was stuck in stack implementation a bit but then figured it out and the kth largest element question was a breezer, used priority queue