LeetCode 232. Implement Queue using Stacks(用栈实现队列)
原题网址:https://leetcode.com/problems/implement-queue-using-stacks/
mplement the following operations of a queue using stacks.
push(x) -- Push element x to the back of queue.pop() -- Removes the
原创
2016-04-05 11:53:58 ·
539 阅读 ·
0 评论