1.first of all,take a lookup on the left side
of keyword const.If there is something(type or pointer),then apply const
featureto it.2.nothing found on...
分类:
编程语言 时间:
2014-05-06 00:38:25
阅读次数:
361
Problem
Link:http://oj.leetcode.com/problems/word-ladder/Two typical techniques are
inspected in this problem:Hash Table. One hash set is the words di...
分类:
其他好文 时间:
2014-05-05 22:44:44
阅读次数:
393
要在开发板上的Linux开机启动自己的程序,想着简单,却改了很久,绕了一圈下来确实很简单,只是自己一开始太过迂腐吧!
如果不想看完全文,这一段应该就够了,从我使用的开发板的角度讲,一般只要在/etc/init.d/rcS中加入你的程序或者脚本命令就可以实现开机自动运行;想在超级终端输入回车,登录后执行,则可以在/etc/profile中加入命令;如果想去掉每次开机完后的“Please press...
分类:
系统相关 时间:
2014-05-05 13:04:14
阅读次数:
525
文章地址:http://blog.csdn.net/piggyxp/article/details/6922277附件如下:word文档PiggyIOCPServer_2008.rarPiggyStressTestClient.rar
分类:
编程语言 时间:
2014-05-04 12:36:18
阅读次数:
359
对于技术方面开发,要解决一些比较复杂的问题。技术很折腾。有个观点说,业务调整一小步,技术进一大步。非常有同感。我记得曾经看阿里巴巴dba童家旺分享提到他们数据库方面调整时,说了一点:技术人员做得最牛逼的事情,不是解决了数据库本身的问题(言外之意很难解决),而在于砍掉了业务的需求。我觉得,面对需求,确...
分类:
其他好文 时间:
2014-05-04 12:08:00
阅读次数:
272
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without an...
分类:
其他好文 时间:
2014-05-03 21:35:49
阅读次数:
310
Where's Waldorf?
Given a m by n grid
of letters, ( ),
and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o...
分类:
其他好文 时间:
2014-05-02 10:59:15
阅读次数:
514
许多次通过,主要是没有考虑到这种情况:“A C ”结尾有多重空格的情况。 1 public class
Solution { 2 public int lengthOfLastWord(String s) { 3 int j, k; 4 if(s == nu...
分类:
其他好文 时间:
2014-05-02 08:21:00
阅读次数:
300