Grid Dynamics interview question

Implement stack that tracks minimum value