摘要: 1.剑指 Offer 09. 用两个栈实现队列 1 class CQueue { 2 public: 3 stack<int> s1,s2; 4 CQueue() { 5 6 } 7 8 void copy(stack<int>& a,stack<int>& b){ 9 while(a.size() 阅读全文
posted @ 2022-06-25 16:47 balabalahhh 阅读(22) 评论(0) 推荐(0)