随笔分类 -  算法

摘要:232. 用栈实现队列 class MyQueue { private Stack<Integer> stackIn, stackOut; public MyQueue() { stackIn = new Stack<>(); stackOut = new Stack<>(); } public v 阅读全文
posted @ 2022-03-20 18:44 一梦两三年13 阅读(43) 评论(0) 推荐(0)