EasyData Structures
Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.
This is an Arena challenge - solutions are not shown publicly.
Work on this problem and submit your solution to contribute!