["push","push","push","getMax","pop","top","getMax"],[0,-2,0,-3,0,0,0,0]
[0,-2,0]
["push", "push", "push", "push", "getMax", "pop", "getMax", "pop", "getMax"],[1, 2, 3, 4, 0, 0, 0, 0, 0]
[4,3,2]
0 pop、top 和 getMax 操作总是在非空栈上调用push、pop、top 和 getMax 最多被调用 3 * 10^5 次