摘要: 剑指offer题解 题1 两个栈表示一个队列 **思路:**就是一个栈专门增加,一个栈专门删除队列 图解: class CQueue { Stack<Integer> stack1; Stack<Integer> stack2; public CQueue() { stack1 = new Stac 阅读全文
posted @ 2022-03-10 14:51 停不下的时钟 阅读(47) 评论(0) 推荐(0)