摘要: 用栈实现队列 232. 用栈实现队列 - 力扣(LeetCode) class MyQueue { public: stack<int> stIn; stack<int> stOut; MyQueue() { } void push(int x) { stIn.push(x); } int pop( 阅读全文
posted @ 2022-11-21 22:40 凱風快晴 阅读(22) 评论(0) 推荐(0)