2024年11月23日

算法笔试面试2

摘要: 用两个栈来模拟实现队列 public class MyQueue { private static Stack<Integer> inStack; private static Stack<Integer> outStack; public MyQueue(){ inStack = new Stac 阅读全文

posted @ 2024-11-23 17:45 ~码铃薯~ 阅读(12) 评论(0) 推荐(0)

导航