A really classic 2D DP problem. And I'm glad that I figured out the transfer function without checking any other resources.After that, everything is s...
分类:
其他好文 时间:
2014-08-22 15:46:38
阅读次数:
232
Evaluate Reverse Polish NotationEvaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may ...
分类:
其他好文 时间:
2014-08-22 12:18:26
阅读次数:
135
安装Oracle软件的过程中,报错:出错原因:这个错误主要是oracle上一次安装失败,而没有删除干净而留下的目录文件造成。解决办法:清除原先目录下的文件,再retry或者重新安装即可。示例:
分类:
数据库 时间:
2014-08-22 10:32:25
阅读次数:
208
Reverse Words in a StringGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Clari...
分类:
其他好文 时间:
2014-08-22 10:30:55
阅读次数:
109
原题:
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...
分类:
其他好文 时间:
2014-08-21 19:30:24
阅读次数:
225
Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of...
分类:
其他好文 时间:
2014-08-21 19:23:34
阅读次数:
295
Reverse IntegerReverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321click to show spoilers.Have you thought about th...
分类:
其他好文 时间:
2014-08-21 19:07:04
阅读次数:
142
关于CRS自动重启实验
一.检查ASM
[root@rac1 ~]# /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@rac1 ~]# /etc/init.d/oracleasm listdisks
ASM01...
分类:
其他好文 时间:
2014-08-21 17:17:24
阅读次数:
315
A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message con...
分类:
其他好文 时间:
2014-08-20 20:56:53
阅读次数:
231
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the". click to show clarification.C...
分类:
其他好文 时间:
2014-08-20 13:59:42
阅读次数:
229