题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter....
分类:
编程语言 时间:
2014-07-28 11:34:30
阅读次数:
265
题目:Write a function to find the longest common prefix string amongst an array of strings.题解:解题思路是,先对整个String数组预处理一下,求一个最小长度(最长前缀肯定不能大于最小长度)。然后以第0个字符串....
分类:
编程语言 时间:
2014-07-28 11:33:30
阅读次数:
241
$ rails _3.0.5_ new depotrubygems.rb:244:in `bin_path': can't find gem railties (["3.0.5"]) with executable rails (Gem::GemNotFoundException)出错重装了rail...
分类:
其他好文 时间:
2014-07-28 02:58:30
阅读次数:
665
【find】是文件查找工具,它会遍历指定目录下所有文件的,所以使用该命令,查找文件的速度比较慢。但是它能够文件类根据型、文件的各做为条查件,找显示符合条件的文件目录。一、既然,【find】是根据文件的特点来查看文种属性件的。那么先了解,文件有啥特点。1、文件特点有很..
分类:
系统相关 时间:
2014-07-28 00:33:20
阅读次数:
551
Description
Mr.Dog was fired by his company. In order to support his family, he must find a new job as soon as possible. Nowadays, It's hard to have a job, since there are swelling numbers of the...
分类:
其他好文 时间:
2014-07-27 23:57:39
阅读次数:
630
#include
#include
#define MAXL 225+5
#define MAXN 10+5
char find[MAXN][MAXL],replace[MAXN][MAXL];
char text[MAXL],convert[MAXL];
int Find(int,int*);
void Replace(int,int);
int str_cmp(int,int);
i...
分类:
其他好文 时间:
2014-07-27 23:55:20
阅读次数:
273
1、 linux驱动分类
2、 信号量与自旋锁
3、 platform总线设备及总线设备如何编写
4、 kmalloc和vmalloc的区别
5、 module_init的级别
6、 添加驱动
7、 IIC原理,总线框架,设备编写方法,i2c_msg
8、 kernel panic
9、 USB总线,USB传输种类,urb等
10、android boot 流程...
分类:
系统相关 时间:
2014-07-27 23:43:09
阅读次数:
380
LeetCode: Max Points on a LineGiven n points on a 2D plane, find the maximum number of points that lie on the same straight line.地址:https://oj.leetcod...
分类:
其他好文 时间:
2014-07-27 23:22:59
阅读次数:
289
查找目录下的所有文件中是否含有某个字符串 find .|xargs grep -ri "IBM" 查找目录下的所有文件中是否含有某个字符串,并且只打印出文件名 find .|xargs grep -ri "IBM" -l 1.正则表达式 (1)正则表达式一般用来描述文本模式的特殊用法,由普通字符(....
分类:
系统相关 时间:
2014-07-27 23:16:29
阅读次数:
410
题目:找出数组中出现次数超过一半的元素解法:每次删除数组中两个不同的元素,删除后,要查找的那个元素的个数仍然超过删除后的元素总数的一半#include int half_number(int a[], int n){ if( a == NULL || n void find(int a[], ...
分类:
其他好文 时间:
2014-07-27 23:09:29
阅读次数:
169