会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
爱写Bug
博客园
首页
新随笔
联系
管理
2019年8月12日
LeetCode 225:用队列实现栈 Implement Stack using Queues
摘要: 题目: 使用队列实现栈的下列操作: push(x) 元素 x 入栈 pop() 移除栈顶元素 top() 获取栈顶元素 empty() 返回栈是否为空 Implement the following operations of a stack using queues. push(x) Push e
阅读全文
posted @ 2019-08-12 14:09 爱写Bug
阅读(95)
评论(0)
推荐(0)
编辑
公告