Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.题目的意思是:给出一组字符串,按组返回拥有相同变位词的字符串解题思路是: ...
分类:
其他好文 时间:
2014-07-06 17:47:10
阅读次数:
210
PostgreSQL正则表达式基础:OperatorDescriptionExample~Matches regular expression, case sensitive'thomas' ~ '.*thomas.*'~*Matches regular expression, case insen...
分类:
其他好文 时间:
2014-07-06 13:31:33
阅读次数:
156
快捷键功能ctrl+shift+n打开新Sublimectrl+shift+w关闭Sublime,关闭所有打开文件ctrl+shift+t重新打开最近关闭文件ctrl+n新建文件ctrl+s保存ctrl+shift+s另存为ctrl+f4关闭文件ctrl+w关闭ctrl+k, ctrl+b切换侧边栏...
分类:
其他好文 时间:
2014-07-06 13:24:56
阅读次数:
172
要求:用户从外部导入TXT文件(input textfile),该文件有三列,分别是storeNum,MosrName,MosrNum,如下是一个input textfile的Case:5099,Scoresby,56595250,Scoresby,56595211,Scoresby,5659513...
分类:
其他好文 时间:
2014-07-06 13:12:43
阅读次数:
232
Swift学习——使用if和switch来进行条件操作,使用for,while,和do-while来进行循环
//switch支持任意类型的数据以及各种比较操作——不仅仅是整数以及测试相等
//注意如果去掉default程序会报错
let strings = "hello3"
switch strings{
case "hello1":
let stringsCo...
分类:
其他好文 时间:
2014-07-06 12:41:35
阅读次数:
186
For the exercises in this chapter we need a list of English words. There are lots of word lists available on the Web, but the most suitable for our pu...
分类:
其他好文 时间:
2014-07-05 22:45:55
阅读次数:
545
vs缩进多行,vs2013测试可用选中要缩进的行,然后点击tab会直接在选中行增大缩进快捷键功能描述tab增大缩进选中要缩进的行,可多行shift + table减小缩进选中要缩进的行,可多行
分类:
其他好文 时间:
2014-07-05 18:07:55
阅读次数:
951
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
有f(n) = f(n - 1) + f(n...
分类:
其他好文 时间:
2014-07-04 08:39:44
阅读次数:
304
Linux上安装MySQL默认是数据库的表大小写敏感的。修改很简单,只要该一个mysql的配置文件就可以了。
mysql> show tables;
+--------------------------------------+
| Tables_in_cddl |
+--------------------------------------...
分类:
数据库 时间:
2014-07-04 07:51:23
阅读次数:
264
问题链接: MVC怎样实现异步调用输出HTML页面该问题是个常见的 case, 故写篇文章用于提示新人。在asp.net mvc中返回View时使用的是ViewResult,它继承自ViewResultBase 同一时候它还有个兄弟PartialViewResult相信聪明的你已经知道了它俩的差别了...
分类:
Web程序 时间:
2014-07-04 00:09:12
阅读次数:
4739