提交 d896c7cb 编写于 作者: 每日一练社区's avatar 每日一练社区

update exercises

上级 8b4d08c8
......@@ -21,24 +21,18 @@
[null,null,null,null,-3,null,0,-2]
<strong>解释:</strong>
</pre>
```
MinStack minStack = new MinStack();
minStack.push(-2);
minStack.push(0);
minStack.push(-3);
minStack.getMin(); --&gt; 返回 -3.
minStack.pop();
minStack.top(); --&gt; 返回 0.
minStack.getMin(); --&gt; 返回 -2.
</pre>
```
<p>&nbsp;</p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册