猫宁!!! 参考链接:http://linux.vbird.org/linux_basic/0157installcentos7.php 鸟哥是为中国信息技术发展做出巨大贡献的人。 1-Linux的目录配置以『树状目录』来配置,至于磁碟分割槽(partition)则需要与树状目录相配合! 请问,在预 ...
分类:
其他好文 时间:
2019-05-26 13:06:36
阅读次数:
117
又是一道dp的题目,还是给出一个超时的解。 ...
分类:
其他好文 时间:
2019-05-26 09:37:15
阅读次数:
111
把回文串的相等关系连一下,发现最后要求的是一笔画问题 注意到奇数长度的中间有一个单独没有连线的,所以a数组至多有两个奇数值 如果没有奇数,那么b在最前面放一个1,然后把a[1]~a[m 1]放上去,这样就是错位着一笔画了,然后剩下一个奇数值连成若干2中间一个1的样子; 如果一个奇数,那么把奇数放到最 ...
分类:
其他好文 时间:
2019-05-24 23:55:07
阅读次数:
227
题目描述 Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Exampl ...
分类:
其他好文 时间:
2019-05-24 19:02:58
阅读次数:
104
题目 补充问题:数组只含0,1,2,对数组排序,要求时间复杂度O(n),额外空间复杂度O(1) 题解 维护三个变量,l,idx,r。左区间[0,l],中间区间[l+1,idx],右区间[idx+1,r]。 初始化l= 1,r=len,idx=0。idx用来遍历数组。 当arr[idx]=1,idx+ ...
分类:
编程语言 时间:
2019-05-24 00:42:31
阅读次数:
130
Palindrome subsequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65535 K (Java/Others)Total Submission(s): 4513 Accepted Submission( ...
分类:
其他好文 时间:
2019-05-23 22:56:16
阅读次数:
161
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. Given a linked list and ...
分类:
其他好文 时间:
2019-05-23 21:17:24
阅读次数:
102
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this problem, w ...
分类:
其他好文 时间:
2019-05-22 20:46:14
阅读次数:
78
#进入bios的boot标签选择sandisk启动如果没有找到u盘进入save & exit标签页选择boot override中的sandisk启动 ls /dev/mapper/ |grep dmdm-0dm-1 sudo passwdsu mkdir /media/usbmount /dev/ ...
分类:
系统相关 时间:
2019-05-22 19:25:21
阅读次数:
375
[20190520]exp imp on th fly.txt--//以前做的测试,查找浪费许多时间,做1个记录。--//注:仅仅linux 操作系统,bash shell版本不能太低就可以实现,现在安装的linux bash shell应该都没有问题。1.环境:SCOTT@book> @ ver1 ...
分类:
其他好文 时间:
2019-05-20 21:06:28
阅读次数:
137