Pregunta de entrevista de Flipkart

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

Respuesta de la entrevista

Anónimo

2 abr 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