求字符串的最长回文子串。【思路】1.从两边开始向中间发展2.从中间开始向两边发展3.从中间开始的变体,较为复杂,详见http://articles.leetcode.com/2011/11/longest-palindromic-substring-part-ii.html【other code1-...
分类:
其他好文 时间:
2015-05-07 11:45:27
阅读次数:
129
Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 153 M RSS (266 MB VSZ) Started:...
分类:
移动开发 时间:
2015-05-07 10:14:09
阅读次数:
133
State : Sleeping, pid: 2905Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memo...
分类:
系统相关 时间:
2015-05-06 21:11:22
阅读次数:
184
在VM等虚拟机,当配置网卡为static,即静态IP时,启动网卡总报”Error, some other host already uses address“,即使换了其它IP,有时仍然还会出现类似情况,而DHCP则会正常工作,真叫人头疼,在网上查了很久,...
分类:
其他好文 时间:
2015-05-06 15:31:55
阅读次数:
128
other,others,another,the other的区别1、other其它的,另外的,别的,做形容词,后面可以跟复数名词(泛指人和物,没有一个特定的范围)。Idon't care about other things。别的事我不在乎。Other students are against t...
分类:
其他好文 时间:
2015-05-05 23:35:07
阅读次数:
232
JavaScript Library is basically a pre-written scripting language that ease the development of JavaScript based applications such as AJAX and other web-centric technologies.These JavaScript librarie...
分类:
编程语言 时间:
2015-05-05 22:08:00
阅读次数:
183
CSS属性书写顺序,建议遵循 Positioning(定位) -> Box model(盒模型) -> typographic (排版)->visual(视觉) ->other/* Positioning */position: absolute;top:0;right:0;bottom:0;lef...
分类:
Web程序 时间:
2015-05-05 16:15:39
阅读次数:
118
下载Tomcat解压在MyEclipse单击Window->Preferences输入Tomcat选择Tomcat6.x单击,Browse..选择下载好的Tomcat路径单击Window->Show view->Other.. 输入搜索serversTomcat服务器就建好了
分类:
其他好文 时间:
2015-05-05 10:17:19
阅读次数:
95
抢劫一排沿街的房子,每一家有不同的财富值,一夜之内抢了连续两家就会拉响报警。给出每家的财富值,求最多能抢到多少?【思路】动态规划求最优解。解题关键:递推式——maxV[i]=max{maxV[i-2]+nums[i], maxV[i-1]};【other code】int rob(vector& n...
分类:
其他好文 时间:
2015-05-04 10:00:19
阅读次数:
98
Description
SunnyPig is a pig who is much cleverer than any other pigs in the pigpen. One sunny morning, SunnyPig wants to go out of the pigpen to date Mrs. Snail, his beloved. However, it’s terrib...
分类:
其他好文 时间:
2015-05-03 20:41:56
阅读次数:
143