Flipkart Interview Question

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

Interview Answer

Anonymous

Apr 2, 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