标签:
3.5 Implement a MyQueue class which implements a queue using two stacks.
LeetCode上的原题,请参见我之前的博客Implement Queue using Stacks 用栈来实现队列。
[CareerCup] 3.5 Implement Queue using Two Stacks 使用两个栈来实现队列
标签:
原文地址:http://www.cnblogs.com/grandyang/p/4679094.html