有效的括号
1 | class Solution { |
两个栈 实现队列
1 | Stack<Integer> in = new Stack<Integer>(); |
栈的压入 弹出序列
1 | public boolean IsPopOrder(int[] pushSequence, int[] popSequence) { |
包含min 函数的栈
1 | private Stack<Integer> dataStack = new Stack<>(); |
计算器
1 |
其他题
1 |
曾因酒醉鞭名马 生怕情多累美人
有效的括号
1 | class Solution { |
两个栈 实现队列
1 | Stack<Integer> in = new Stack<Integer>(); |
栈的压入 弹出序列
1 | public boolean IsPopOrder(int[] pushSequence, int[] popSequence) { |
包含min 函数的栈
1 | private Stack<Integer> dataStack = new Stack<>(); |
计算器
1 |
其他题
1 |