Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit st...
分类:
其他好文 时间:
2015-01-31 20:40:11
阅读次数:
119
Q:Given a binary tree, return the postorder traversal
of its nodes' values.
Note:Recursive
solution is trivial, could you do it iteratively?
题目的意思就是不用递归求二叉树的后序遍历。
后续遍历的递归方式很简单,首先遍历左子树,然后遍历右子树,最...
分类:
其他好文 时间:
2015-01-31 14:49:58
阅读次数:
156
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2015-01-31 12:05:25
阅读次数:
209
Problem DescriptionGiven a string containing only 'A' - 'Z', we could encode it using the following method:1. Each sub-string containing k same charac...
分类:
其他好文 时间:
2015-01-31 11:58:49
阅读次数:
171
最近在调试一个java项目的时候,发现报了这个错:The JRE could not be found. Edit the server and change the JRE location.找了好久,终于调好程序了。现把这个过程说明如下:
选择Server,然后 installed runtimes -> Tomcat5(配置的服务器中间件名称) -> edit -> 手...
分类:
其他好文 时间:
2015-01-30 22:46:24
阅读次数:
250
题目链接:Letter Combinations of a Phone
Number
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone...
分类:
其他好文 时间:
2015-01-30 22:43:16
阅读次数:
175
Error:Could not find adb, please install Android SDK and set path to adb
环境: win7 64bit
eclipse 1.4.1
android-sdk_r21-windows
问题描述:将asm.jar放在C盘的用户目录下,执行java -jar asm.jar后,跳出如上提示
原因分...
分类:
移动开发 时间:
2015-01-30 17:43:48
阅读次数:
255
Given an array of integers,every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement itwithout using extra m...
分类:
其他好文 时间:
2015-01-30 09:10:45
阅读次数:
247
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2015-01-30 06:40:19
阅读次数:
186
在centos6.6上安装了Vmware之后运行出现下列问题 VMware Workstation : Could not open /dev/vmmon: No such file or directory解决办法:[root@Server-1 ~]#mv /usr/lib/vmware/modu...
分类:
系统相关 时间:
2015-01-30 00:00:03
阅读次数:
458