摘要: 题目: 使用队列实现栈的下列操作: 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) 编辑