Coder789
Coder789
全部文章
分类
题解(31)
归档
标签
去牛客网
登录
/
注册
Coder789的博客
全部文章
(共4篇)
题解 | #包含min函数的栈#
import java.util.Stack; public class Solution { Stack<Integer> minStack = new Stack<>(); Stack<Integer> dataStack = new St...
堆栈
2021-09-02
0
337
题解 | #用两个栈实现队列#
import java.util.Stack; public class Solution { Stack<Integer> stack1 = new Stack<Integer>(); Stack<Integer> stack2 = new S...
堆栈
2021-09-02
0
303
题解 | #包含min函数的栈#
import java.util.Stack; public class Solution { Stack<Integer> dataStack = new Stack<>(); Stack<Integer> minStack = new St...
堆栈
2021-08-23
0
389
题解 | #用两个栈实现队列#
import java.util.Stack; public class Solution { Stack<Integer> stack1 = new Stack<Integer>(); Stack<Integer> stack2 = new S...
堆栈
2021-08-23
0
305