Loading

摘要: 用栈实现队列 题目 简单 把 pop() 和 peek() 中可复用的部分提取出来 class MyQueue { Stack<Integer> stackIn; Stack<Integer> stackOut; /** Initialize your data structure here. */ 阅读全文
posted @ 2022-12-06 10:58 幻梦翱翔 阅读(24) 评论(0) 推荐(0) 编辑