Herve Leger dresses ccommodate gas and electric
light. To be honest with you, it is limited to children and the elderly. You
will be pleased with all ...
分类:
其他好文 时间:
2014-05-17 00:38:15
阅读次数:
406
Given a string S, find the longest palindromic
substring in S. You may assume that the maximum length of S is 1000, and there
exists one unique longes...
分类:
其他好文 时间:
2014-05-16 21:15:37
阅读次数:
454
今天上英文課, 因為我想記住這兩個單字curly braces &
parenthesis你會看到一些代碼中curly braces & parenthesis是可以替換的?You may replace
parenthesis with curly braces if, and only if, ...
分类:
其他好文 时间:
2014-05-16 07:27:23
阅读次数:
257
转自:http://my.oschina.net/zhuka/blog/124503No
compiler is provided in this environment. Perhaps you are running on a JRE
rather than a JDK?解决问题: 由于Ecl....
分类:
其他好文 时间:
2014-05-16 06:51:55
阅读次数:
519
题目: Given a linked list, determine if it has a
cycle in it. Follow up: Can you solve it without using extra space?解题思路:
使用快慢指针,快指针每次走两步,慢指针每次走一步...
分类:
其他好文 时间:
2014-05-16 05:19:21
阅读次数:
271
题目: Given a linked list, return the node where the
cycle begins. If there is no cycle, returnnull. Follow up: Can you solve it
without using extr...
分类:
其他好文 时间:
2014-05-16 04:50:13
阅读次数:
329
艾玛好歹也是云存储巨头, 好歹对数据读写要抱有起码的敬畏吧? 你错几个字节让用户情何以堪?
Check CRC你总该知道吧? MD5 or SHA1你也都知道吧? 文件传输完check一下不行么?
分类:
其他好文 时间:
2014-05-15 16:37:57
阅读次数:
321
老爷子心不老, 依然在勤勤恳恳地敲着书和代码...没错, 就是source code.
像老爷子这样的老一辈会用电脑的都不多, 而我亲爱的老爷子那是会Turbo Basic的顶尖高手啊...每次想到这个, 内心都倍感自豪...
当年的"窗口"编程极其繁琐, 如果不看看那一套, 再加上个, 都不保证能...
分类:
其他好文 时间:
2014-05-14 13:38:42
阅读次数:
327
题意:给你 n 个数,m个询问(c,x,y)
c==0 把x,y区间的值变为原来的平方根(向下取整)
c==1 计算x,y区间的和。
利用1的开方永远为1剪枝。。
#include
#include
#include
#include
//#include
#include
#include
#include
#include
#include
#include...
分类:
其他好文 时间:
2014-05-13 15:50:04
阅读次数:
338
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie
Best Time to Buy and Sell Stock II
Total Accepted: 13030 Total
Submissions: 36467
Say you have an array for which the ith ...
分类:
其他好文 时间:
2014-05-13 14:08:39
阅读次数:
414