Design a stack that supports getMin() in O(1) time and O(1) extra space
I came across this interview question the other day, and when I saw the solution, I learned something...
Tags: dsa, cpp, techinterview, lowleveldesign