摘要: Implement the following operations of a stack using queues. (Easy) push(x) -- Push element x onto stack. pop() -- Removes the element on top of the st 阅读全文
posted @ 2016-12-08 21:32 wangxiaobao1114 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Evaluate the value of an arithmetic expression in Reverse Polish Notation. (Medium) Valid operators are +, -, *, /. Each operand may be an integer or 阅读全文
posted @ 2016-12-08 21:27 wangxiaobao1114 阅读(307) 评论(0) 推荐(0) 编辑