04 2018 档案

摘要:【题目描述】 Implement an algorithm to delete a node in the middle of a singly linked list, given only access to that node. 给定一个单链表中的一个等待被删除的节点(非表头或表尾)。请在在O 阅读全文
posted @ 2018-04-07 09:42 锖青磁 阅读(101) 评论(0) 推荐(0) 编辑
摘要:【题目描述】 Print numbers from 1 to the largest number with N digits by recursion. Notice It's pretty easy to do recursion like: recursion(i) { if i > larg 阅读全文
posted @ 2018-04-06 10:55 锖青磁 阅读(74) 评论(0) 推荐(0) 编辑
摘要:【题目描述】 Given an expression string array, return the Reverse Polish notation of this expression. (remove the parentheses) 给定一个表达式字符串数组,返回该表达式的逆波兰表达式(即去 阅读全文
posted @ 2018-04-05 13:58 锖青磁 阅读(80) 评论(0) 推荐(0) 编辑
摘要:【题目描述】 Given an expression string array, return the final result of this expression Notice:The expression contains only integer,+,-,*,/,(,). 给一个用字符串表示 阅读全文
posted @ 2018-04-04 19:13 锖青磁 阅读(115) 评论(0) 推荐(0) 编辑
摘要:【题目描述】 The structure of Expression Tree is a binary tree to evaluate certain expressions. All leaves of the Expression Tree have an number string valu 阅读全文
posted @ 2018-04-02 14:00 锖青磁 阅读(85) 评论(0) 推荐(0) 编辑