Linux环境下安装redis
分类:
其他好文 时间:
2015-01-02 17:21:17
阅读次数:
239
1.伪分布式的安装1.1修改ip(1)打开VMWare或者VirtualBox的虚拟网卡(2)在VMWare或者VirtualBox设置网络连接方式为host-only(3)在linux中,修改ip。有上角的图标,右键,选择Edit Connections....****ip必须与windows下虚...
分类:
其他好文 时间:
2015-01-02 17:20:39
阅读次数:
303
OpenCV优化:图像的遍历4种方式 分类:?算法学习2014-04-13 23:43?1312人阅读?评论(0)?收藏?举报 opencv 目录(?)[+] OpenCV优化:图像的遍历4种方式 我们在实际应用中对图像进行的操作,往往并不是将图像...
分类:
其他好文 时间:
2015-01-02 16:18:20
阅读次数:
255
/*题目描述
角谷猜想:?
日本一位中学生发现一个奇妙的“定理”,请角谷教授证明,而教授无能为力,于是产生角谷猜想。
猜想的内容是:任给一个自然数,若为偶数除以2,若为奇数则乘3加1,得到一个新的自然数后按...
分类:
其他好文 时间:
2015-01-02 16:20:05
阅读次数:
184
http://openhft.net/ http://maven.outofmemory.cn/net.openhft/chronicle-map/2.0.13b/ http://search.maven.org/#search|ga|1|g%3A%22net.openhft%22%20AND%20a%3A%22chronicle-map%22 freechat http://www.osc...
分类:
其他好文 时间:
2015-01-02 16:19:26
阅读次数:
115
https://oj.leetcode.com/problems/convert-sorted-array-to-binary-search-tree/http://fisherlei.blogspot.com/2013/03/leetcode-convert-sorted-array-to-binary.html/**
*Definitionforbinarytree
*publicclassTreeNode{
*intval;
*TreeNodeleft;
*TreeNoderight;
*TreeNod..
分类:
其他好文 时间:
2015-01-02 16:19:16
阅读次数:
151
https://oj.leetcode.com/problems/convert-sorted-list-to-binary-search-tree/http://fisherlei.blogspot.com/2013/01/leetcode-convert-sorted-list-to-binary.htmlhttp://blog.csdn.net/worldwindjp/article/details/39722643/**
*Definitionforsingly-linkedlist.
*public..
分类:
其他好文 时间:
2015-01-02 16:17:43
阅读次数:
215
https://oj.leetcode.com/problems/permutations/http://fisherlei.blogspot.com/2012/12/leetcode-permutations.htmlTODOseesubsetcombination,nextpublicclassSolution{
//Assumesallinputnumbersareunique
publicList<List<Integer>>permute(int[]num){
retur..
分类:
其他好文 时间:
2015-01-02 16:17:16
阅读次数:
126
https://oj.leetcode.com/problems/two-sum/http://fisherlei.blogspot.com/2013/03/leetcode-two-sum-solution.htmlpublicclassSolution{
publicint[]twoSum(int[]numbers,inttarget){
//SolutionA
//returntwoSum_SortAndTwoPointer(numbers,target);
//SolutionB
returntw..
分类:
其他好文 时间:
2015-01-02 16:17:51
阅读次数:
144
https://oj.leetcode.com/problems/longest-substring-without-repeating-characters/http://fisherlei.blogspot.com/2012/12/leetcode-longest-substring-without.htmlpublicclassSolution{
publicintlengthOfLongestSubstring(Strings){
if(s==null||s.isEmpty())
return0;/..
分类:
其他好文 时间:
2015-01-02 16:16:01
阅读次数:
119
https://oj.leetcode.com/problems/add-two-numbers/http://fisherlei.blogspot.com/2013/01/leetcode-add-two-numbers-solution.html/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
*}
*/
pub..
分类:
其他好文 时间:
2015-01-02 16:16:51
阅读次数:
132
看了无数的博文在教授大家如何提高自己的技术水平,我虽然不暗技术,但是总感觉很悲凉。技术本来就是为市场服务的,没有需求,技术本身就变的毫无价值,而所谓的动辄提高自己的技术水平,到底能够让多少人受益呢?我看很少。很多人总是自认为这是由于个人决定的,我看未必,核..
分类:
其他好文 时间:
2015-01-02 16:17:19
阅读次数:
134
https://oj.leetcode.com/problems/longest-palindromic-substring/http://fisherlei.blogspot.com/2012/12/leetcode-longest-palindromic-substring.htmlpublicclassSolution{
publicStringlongestPalindrome(Strings){
//SolutionA:
returnlongestPalindrome_Center(s);
}
..
分类:
其他好文 时间:
2015-01-02 16:15:08
阅读次数:
122
nqaentryadminhngdtypeicmp-echo使用ICMPping的方式destinationip10.114.10.1frequency1000频率1000msreaction1checked-elementprobe-failthreshold-typeconsecutive5action-typetrigger-onlyreaction2checked-elementprobe-failthreshold-typeconsecutive10action-typetrigger..
分类:
其他好文 时间:
2015-01-02 16:16:04
阅读次数:
626
https://oj.leetcode.com/problems/zigzag-conversion/http://fisherlei.blogspot.com/2013/01/leetcode-zigzag-conversion.htmlpublicclassSolution{
publicStringconvert(Strings,intnRows){
//SolutionA:
returnconvert_NoNewMatrix(s,nRows);
}
////////////////////////..
分类:
其他好文 时间:
2015-01-02 16:13:47
阅读次数:
140
http://7371901.blog.51cto.com/user_index.php?action=addblog_newhttp://fisherlei.blogspot.com/2012/12/leetcode-reverse-integer.htmlpublicclassSolution{
publicintreverse(intx){
//SolutionA
//returnreverse_Mod(x);
//SolutionB
returnreverse_String(x);
}
////..
分类:
其他好文 时间:
2015-01-02 16:14:15
阅读次数:
223
https://oj.leetcode.com/problems/string-to-integer-atoi/http://fisherlei.blogspot.com/2013/01/leetcode-string-to-integer-atoi.htmlpublicclassSolution{
publicintatoi(Stringstr){
//Validations
if(str==null||str.length()==0)
return0;
char[]chars=str.trim()...
分类:
其他好文 时间:
2015-01-02 16:14:54
阅读次数:
157