Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2015-07-04 00:44:40
阅读次数:
132
Setup iOS Development EnvironmentInstall XCode and check-out source code from SVNXCodePlease find document from Apple on how to install XCode. Check-out Source CodeIn XCode, Use menu “Source Control” -...
分类:
移动开发 时间:
2015-07-03 23:28:37
阅读次数:
234
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2612Find a wayDescriptionPass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. ...
分类:
其他好文 时间:
2015-07-03 21:54:05
阅读次数:
125
string类提供字符串处理函数,利用这些函数,可以在字符串内查找字符,提取连续字符序列(称为子串),以及在字符串中删除和添加。我们将介绍一些主要函数。1.find_first_of()和find_last_of()函数find_first_of()和find_last_of()执行简单的模式匹配,...
分类:
编程语言 时间:
2015-07-03 18:57:45
阅读次数:
150
父级frame中的方法:
function hideOutline() {
$("#outline").hide();
$("#content").attr("style", "width: 97%;");
$(".replyUserList").find("table").attr("style", "left: 35px;");
$("#showOutline").show();
}...
分类:
Web程序 时间:
2015-07-03 16:04:16
阅读次数:
274
查看本地文件的 MD5 命令:md5sum FileName查看home目录下所有文件的 MD5 码:cd ~find /home -type f -print0 | xargs -0 md5sum | sort >md5.txt查看当前目录下所有文件的 MD5 码:find ./ -type f ...
分类:
系统相关 时间:
2015-07-03 15:47:35
阅读次数:
226
sudo ln -s /path/to/module.ko /lib/modules/`uname -r`
sudo depmod -a #depmod will output a dependency list suitable for the modprobe utility.
sudo modprobe module...
分类:
其他好文 时间:
2015-07-03 14:03:50
阅读次数:
133
在Matcher类中有matches、lookingAt和find都是匹配目标的方法,但容易混淆,整理它们的区别如下:matches:整个匹配,只有整个字符序列完全匹配成功,才返回True,否则返回False。但如果前部分匹配成功,将移动下次匹配的位置。lookingAt:部分匹配,总是从第一个字符...
分类:
编程语言 时间:
2015-07-03 13:53:48
阅读次数:
147
1,find经常在linux下工作,总要查找一些文件,于是就搜索的学习了一下find 指定目录 指定条件 指定动作举例:find . -name "my*" 查找 当前目录下,以my开头的文件或目录如果查找指定文件 建议,-name 名字find . -name "my*" ...
分类:
系统相关 时间:
2015-07-03 11:55:47
阅读次数:
203
原题链接:https://leetcode.com/problems/longest-palindromic-substring/
题目:Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exis...
分类:
其他好文 时间:
2015-07-03 10:45:37
阅读次数:
146