IT博客汇
首页
精华
技术
设计
资讯
扯淡
权利声明
登录
注册
LeetCode Implement Stack using Queues
yangliuy
发表于
2015-07-27 16:38:42
love
0
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