Create a Stack that contains the standard
pop methods. It should also contain another method
min that returns the minimum number in the Stack.
All operations should take O(1) time.
Input / Output
You will be given multiple lists of input in the standard manner. If a number is
-1, pop off the top number from your stack, and print nothing. Otherwise, push the given number onto your stack, and then print the minimum number currently in the Stack
1 10 3 5 -1 -1 7 2 11 -1 -1 9
3 3 7 2 2 7