leetcode/0232.Implement-Queue-using-Stacks/README.md
Implement the following operations of a queue using stacks.
Example :
MyQueue queue = new MyQueue();
queue.push(1);
queue.push(2);
queue.peek(); // returns 1
queue.pop(); // returns 1
queue.empty(); // returns false
Note:
题目要求用栈实现一个队列的基本操作:push(x)、pop()、peek()、empty()。
按照题目要求实现即可。