[CareerCup] 3.5 Implement Queue using Two Stacks 使用两个栈来实现队列
3.5 Implement a MyQueue class which implements a queue using two stacks.
LeetCode上的原题,请参见我之前的博客Implement Queue using Stacks 用栈来实现队列。
3.5 Implement a MyQueue class which implements a queue using two stacks.
LeetCode上的原题,请参见我之前的博客Implement Queue using Stacks 用栈来实现队列。