Anagrams
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
public class Solution {
public List anagrams(Str...
分类:
其他好文 时间:
2014-10-31 19:07:14
阅读次数:
147
mysql的版本mysql>selectversion()\G***************************1.row***************************version():5.5.39msyql默认是区分大小写的创建数据库ZPFmysql>createdatabaseZPF;QueryOK,1rowaffected(0.00sec)修改my.cnf[mysqld]下添加lower_case_table_names=1重启m..
分类:
其他好文 时间:
2014-10-30 17:19:44
阅读次数:
283
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 does not exist, return 0.
Note: A word is defi...
分类:
其他好文 时间:
2014-10-27 14:26:12
阅读次数:
249
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-10-26 14:18:54
阅读次数:
158
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-10-24 13:00:38
阅读次数:
170
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-10-24 12:28:03
阅读次数:
211
今天又舔着脸开始LeetCode的征程了,本来是写在CSDN的,无奈遇上他家博客老是在升级中。。。题目:Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the...
分类:
其他好文 时间:
2014-10-24 00:11:43
阅读次数:
151
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
class Solution {
public:
std::vector anagrams(std::vector &strs) {
...
分类:
其他好文 时间:
2014-10-23 09:33:28
阅读次数:
173
修改文件为/etc/mysql/my.cnf[client]default-character-set = utf8 (ps:client的设置没变)[mysqld]lower_case_table_names = 1 (不区分大小写)character_set_server = utf8 (ps:...
分类:
数据库 时间:
2014-10-18 11:08:57
阅读次数:
222
[leetcode]Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string....
分类:
其他好文 时间:
2014-10-15 11:06:50
阅读次数:
205