https://oj.leetcode.com/problems/valid-palindrome/http://blog.csdn.net/linhuanmars/article/details/22775045publicclassSolution{
publicbooleanisPalindrome(Strings){
{
if(s==null)
returnfalse;
if(s.isEmpty())
returntrue;
char[]chars=s.toLowerCase().toCharAr..
分类:
其他好文 时间:
2015-01-07 19:15:41
阅读次数:
149
https://oj.leetcode.com/problems/word-ladder/http://blog.csdn.net/linhuanmars/article/category/1918893/2publicclassSolution{
publicintladderLength(Stringstart,Stringend,Set<String>dict)
{
//Putendintodict
Set<String>dictionary=newHashSet<>..
分类:
其他好文 时间:
2015-01-07 19:08:18
阅读次数:
91
https://oj.leetcode.com/problems/word-ladder-ii/http://blog.csdn.net/linhuanmars/article/details/23071455publicclassSolution{
publicList<List<String>>findLadders(Stringstart,Stringend,Set<String>dict)
{
List<List<String>>toRetu..
分类:
其他好文 时间:
2015-01-07 19:05:33
阅读次数:
201
https://oj.leetcode.com/problems/longest-consecutive-sequence/http://blog.csdn.net/linhuanmars/article/details/22964467publicclassSolution{
publicintlongestConsecutive(int[]num){
//SolutionA:
//returnlongestConsecutive_Sort(num);
//SolutionB:
returnlonges..
分类:
其他好文 时间:
2015-01-07 19:03:11
阅读次数:
165
https://oj.leetcode.com/problems/sum-root-to-leaf-numbers/http://blog.csdn.net/linhuanmars/article/details/22913699/**
*Definitionforbinarytree
*publicclassTreeNode{
*intval;
*TreeNodeleft;
*TreeNoderight;
*TreeNode(intx){val=x;}
*}
*/
publicclassSolution{
..
分类:
其他好文 时间:
2015-01-07 19:01:24
阅读次数:
112
大量原创博文可见如下链接,话说原文作者刘爱贵会持续更新:http://blog.csdn.net/liuaigui/article/details/17331557下面提供一个当前版本的链接:[1]GlusterFS集群文件系统研究[2]基于开源软件构建高性能集群NAS系统[3]关于Gluster稳定性的一个BUG[4]创建Glusterfs分布式RAID..
分类:
其他好文 时间:
2015-01-07 18:59:17
阅读次数:
199
题目大意:给定一棵树,m次询问,每次给出k个关键点,询问这k个点之间的两两距离和、最小距离和最大距离
n
处理方法同2286 消耗战 地址见 http://blog.csdn.net/popoqqq/article/details/42493725
这个题的DP有些麻烦 因此我把要处理的节点单独拎出来做的DP 具体状态和转移见代码
#include
#includ...
分类:
其他好文 时间:
2015-01-07 18:50:04
阅读次数:
204
转自http://blog.csdn.net/tongyu2009/article/details/8525384当我做到#unzip liunx_oracle时候,提示disk full?[root@localhost ~]# df -h 发现已用100%,说明安装时分配的空间10G不够,就需要增...
分类:
系统相关 时间:
2015-01-07 18:41:34
阅读次数:
406
转摘:http://www.codeproject.com/Articles/37182/Debug-your-ASP-NET-Application-while-Hosted-on-IISThis article describes how to debug a web application w...
分类:
移动开发 时间:
2015-01-07 18:28:14
阅读次数:
400
引用:http://blog.csdn.net/longxibendi/article/details/38276847Vim编辑程序有三种操作模式,分别称为编辑模式、插入模式和命令模式。注意:部分指令在本人机器上无法执行。未确定原因(版本更替,输入方式错误)编辑模式:页面移动:k 上移; j 下移...
分类:
系统相关 时间:
2015-01-07 18:25:59
阅读次数:
160