摘要: 1、用栈实现队列 class MyQueue { stack<int> stack1,stack2; public: /** Initialize your data structure here. */ MyQueue() { while(!stack1.empty()) stack1.pop() 阅读全文
posted @ 2020-07-15 13:11 r1-12king 阅读(150) 评论(0) 推荐(0) 编辑