Solution to Min In Stack from Jobdu
Question (in Chinese): http://ac.jobdu.com/problem.php?pid=1522 Question Name: Min In Stack Question Description: implement a customized stack. It should provide a function min() to return the minimum value in the stack in O(1) time. Input: the input might contain multiple test cases. … Read More »