码迷,mamicode.com
首页 >  
搜索关键字:lower    ( 3122个结果
【leetcode】Anagrams
AnagramsGiven an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.Anagrams:即字母个数和字母都相同,但是字母顺序不相...
分类:其他好文   时间:2015-01-27 00:08:17    阅读次数:250
Centos 6.5 安装 Mysql 后更改存储路径问题
问题:[Warning] Can't create test file xxx.lower-test[Warning] Can't create test file xxx.lower-testusrlibexecmysqld Can't change dir to 'xxx' (Errcode 1...
分类:数据库   时间:2015-01-26 14:53:30    阅读次数:207
Leetcode: Missing Ranges
Given a sorted integer array where the range of elements are [lower, upper] inclusive, return its missing ranges.For example, given [0, 1, 3, 50, 75],...
分类:其他好文   时间:2015-01-26 11:33:54    阅读次数:185
Anagrams
AnagramsGiven an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.anagrams特点:单词里的字母的种类和数目是一样的,只...
分类:其他好文   时间:2015-01-24 17:15:00    阅读次数:142
RHCE7学习笔记16——正则表达式的grep使用
一、通配符[]:匹配中括号里面的一个字符;表示字母[a-z],[0-9]表示数字,括号里面的^表示否,等同于!,如[^a-z],[!0-9]\:转义字符:[a\-z]?:匹配任意一个字符;*:0个或者任意多个字符;类字符:[[:upper:]][[:lower:]][[:digit:]][[:alpha:]][[:alnum:]][[:blank:]]yum是s..
分类:其他好文   时间:2015-01-22 15:47:14    阅读次数:175
poj 3579 Median 二分查找与lower_bound
题意: 给n个数,他们两两之间较大数减去较小数总共有n*(n-1)/2个数,要求这些数的中位数。 分析: 两次二分,第一次枚举答案,第二次判断该数是否可能成为中位数。 代码: //poj 3579 //sep9 #include #include using namespace std; const int maxN=1e5+10; int a[maxN]; int n,m; in...
分类:其他好文   时间:2015-01-22 01:49:51    阅读次数:338
leetcode------Length of Last Word
标题:Length of Last Word通过率:28.8%难度:简单Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last wor...
分类:其他好文   时间:2015-01-20 17:01:33    阅读次数:117
linux mysql表名大小写
1.用ROOT登录,修改/etc/my.cnf2.在[mysqld]下加入一行:lower_case_table_names=10:区分大小写,1:不区分大小写3.重新启动数据库即可
分类:数据库   时间:2015-01-19 12:47:24    阅读次数:188
正则表达式笔记 sed工具
[:alnum:]代表英文大小写字符及数字,即0-9A-Za-z[:alpha:]代表任何英文大小写字符,即A-Za-z[:blank:]代表空格键与TAB键[:cntrl:]代表键盘上面的控制案件,即包括CRLFTABDEL等[:digit:]代表数字0-9[:graph:]除了空格键与TAB键外其他的所有键[:lower:]代表小写字符a-z[:print:]..
分类:其他好文   时间:2015-01-16 16:57:31    阅读次数:244
[LeetCode#58]Length of Last Word
The problem:Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the l...
分类:其他好文   时间:2015-01-16 01:07:30    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!