题目描述:
Implement the following operations of a stack using queues.
push(x) -- Push element x onto stack.
pop() -- Removes the element on top of the stack.
top() -- Get the top element.
empty() -- Return whether the stack is empty.
Notes:
You ...
![[LeetCode]Rectangle Area](https://leetcode.com/static/images/problemset/rectangle_area.png)