摘要: 题目:Invert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1Trivia:This problem was inspired byt... 阅读全文
posted @ 2015-06-20 12:29 可爱的波儿胖 阅读(371) 评论(0) 推荐(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.to... 阅读全文
posted @ 2015-06-20 11:40 可爱的波儿胖 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 题目:Implement a basic calculator to evaluate a simple expression string.The expression string may contain open(and closing parentheses), the plus+or mi... 阅读全文
posted @ 2015-06-20 11:24 可爱的波儿胖 阅读(936) 评论(0) 推荐(0) 编辑

友情链接 : CodeForge源码分享