Question d’entretien chez Refine Labs

Question: Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. Concepts Tested: Stack, auxiliary data structure, constant-time operations. Difficulty: Medium