Implement the following operations of a queue using stacks.
push
to top
, peek/pop from top
, size
,
and is empty
operations are valid.版权声明:本文为博主原创文章,未经博主允许不得转载。
LeetCode232——Implement Queue using Stacks
原文地址:http://blog.csdn.net/booirror/article/details/47172435