DIY: Min Stack

Solve the interview question "Min Stack" in this lesson.

Problem statement

You have to implement the min_stack class, which has a min(obj) function. Whenever min(obj) is called, the minimum value of the stack is ...