Example 1
-231 <= val <= 231 - 1Methods pop, top and getMin operations will always be called on non-empty stacks.At most 3 * 104 calls will be made to push, pop, top, and getMin.Example 1
-231 <= val <= 231 - 1Methods pop, top and getMin operations will always be called on non-empty stacks.At most 3 * 104 calls will be made to push, pop, top, and getMin.