其他分享
首页 > 其他分享> > 题四:用两个栈实现队列

题四:用两个栈实现队列

作者:互联网

题目描述

用两个栈来实现一个队列,完成队列的Push和Pop操作。 队列中的元素为int类型。

 

标签:队列,Pop,题四,int,Push,实现,栈来
来源: https://blog.csdn.net/qq_18657175/article/details/89428922