摘要:
类似问题:232. Implement Queue using Stacks 问题: 设计数据结构,使用queue实现stack。 实现以下功能: void push(int x) Pushes element x to the top of the stack. int pop() Removes 阅读全文
posted @ 2021-04-18 15:15
habibah_chang
阅读(31)
评论(0)
推荐(0)
摘要:
问题: 设计数据结构,使用stack实现queue。 实现以下功能: void push(int x) Pushes element x to the back of the queue. int pop() Removes the element from the front of the que 阅读全文
posted @ 2021-04-18 14:39
habibah_chang
阅读(40)
评论(0)
推荐(0)

浙公网安备 33010602011771号