Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:
其他好文 时间:
2014-09-02 21:11:15
阅读次数:
171
原文:mysql在windows下支持表名大小写,lower_case_table_nameswindows下mysql默认是不支表名大小写的,也就是表名大小写不敏感。用phpmyadmin创建的驼峰式表名,全部被强制成小写。mysql表名大小写敏感的参数:lower_case_table_name...
分类:
数据库 时间:
2014-09-01 13:58:03
阅读次数:
195
安装MySQL后,不能远程访问,进行如下配置即可
连接后,依然不能连接,报如下错误:
1042 - Can't get hostname for your address
解决方法在my.ini里增加如下两行重启MySQL即可。
skip-name-resolve
lower_case_table_names=1...
分类:
数据库 时间:
2014-08-29 20:10:28
阅读次数:
242
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.思路:对每个string进行排序,并使用map记录排序之后值相同的stri...
分类:
其他好文 时间:
2014-08-27 14:39:37
阅读次数:
147
使用 lowercaseString,uppercaseString
- (void)test{
NSString *testString = @"Hello World";
// lower case
NSString *lowerCaseString1 = [testString lowercaseString];
NSString *lowerCa...
分类:
移动开发 时间:
2014-08-27 00:28:16
阅读次数:
243
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word ...
分类:
其他好文 时间:
2014-08-26 21:14:16
阅读次数:
220
常量(UPPERCASE|UPPER_CASE):不会发生改变的全局变量(注意Python本身并不支持C++中的const常量,这里仅仅是约定),由大写字母、[下划线]组成。通常用来保存默认配置的值。模块、类、方法的私有变量|函数|方法(_lower_case):经常改变的模块级变量(模块内私有),...
分类:
编程语言 时间:
2014-08-25 19:10:24
阅读次数:
214
设置mysql表名大小写不敏感 lower_case_table_names含义http://blog.csdn.net/iefreer/article/details/8313839 找到MySQL的my.cnf配置文件(vi /etc/my.cnf ),在里面添加: lower_case_tab...
分类:
数据库 时间:
2014-08-23 16:47:21
阅读次数:
229
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.用map记录出现的string的下标,避免了再次遍历。class Solu...
分类:
其他好文 时间:
2014-08-21 16:55:04
阅读次数:
177