摘要: Basic Calculator IIImplement a basic calculator to evaluate a simple expression string.The expression string contains onlynon-negativeintegers,+,-,*,/... 阅读全文
posted @ 2015-07-12 15:08 陆草纯 阅读(597) 评论(0) 推荐(0) 编辑
摘要: Invert Binary TreeInvert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1Trivia:This problem w... 阅读全文
posted @ 2015-07-12 14:36 陆草纯 阅读(772) 评论(0) 推荐(0) 编辑
摘要: Implement Stack using QueuesImplement the following operations of a stack using queues.push(x) -- Push element x onto stack.pop() -- Removes the eleme... 阅读全文
posted @ 2015-07-12 11:19 陆草纯 阅读(1309) 评论(0) 推荐(0) 编辑
摘要: Basic CalculatorImplement a basic calculator to evaluate a simple expression string.The expression string may contain open(and closing parentheses), t... 阅读全文
posted @ 2015-07-12 10:13 陆草纯 阅读(3177) 评论(1) 推荐(0) 编辑