At first beginning, I was trying to use hash set to record the characters. But I found that was wrong.Because if there are couple same chars, when you...
分类:
其他好文 时间:
2015-03-20 08:06:07
阅读次数:
164
Similar to merge intervals. But this is easier than merge interval, because every side is kind of "sorted". 1 /** 2 * Definition for an interval. 3 .....
分类:
其他好文 时间:
2015-03-20 06:50:10
阅读次数:
123
Not quite hard. Just remember initialize index to 0. Because if you initialize it as -1 and all the gas satisfy the cost, it will return -1.Actually, ...
分类:
其他好文 时间:
2015-03-20 01:11:41
阅读次数:
210
Notes:1. When numerator is 0, return "0". Check this corner case, because 0 / -5 will return -0.2. Use long long int for divd and divs, mainly for div...
分类:
其他好文 时间:
2015-03-19 23:44:46
阅读次数:
162
Only trick is the 'Z'. Because when the number % 26 == 0, means there is a 'Z'. But when you n/=26, there is an extra 1 added to the n. EX:27 % 26 = 1...
分类:
其他好文 时间:
2015-03-19 09:59:13
阅读次数:
110
wcf basicHttpBinding content-type text/xml;charset=utf-8wsHttpBinding 'application/soap+xml; charset=utf-8'webHttpBinding 'application/x-www-form-urle...
分类:
移动开发 时间:
2015-03-17 12:12:35
阅读次数:
425
Android Guts: Intro to Loopers and Handlers « Mind The RobotOne of the reasons I love Android API is because it contains so many useful little things....
分类:
移动开发 时间:
2015-03-16 14:27:24
阅读次数:
439
笔者认为最好的方法便是多接触英文的电影 , 电视剧 , 演讲等视频内容 , 从中去学习欧美人在讲英语时在语调和重音上的变化 , 并在自己讲英语的时候尽力模仿 .笔者认为 , 中国考生尤其需要背诵记忆的是逻辑转换词 (例如 because,nevertheless,furthermore 等)以及所谓...
分类:
其他好文 时间:
2015-03-15 21:15:26
阅读次数:
199
Description While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a o...
分类:
其他好文 时间:
2015-03-15 00:42:32
阅读次数:
205
当在VS2013下开发web site时,调试时都是在IIS Express中进行的,没有问题。当部署到IIS中,出现:The requested page cannot be accessed because the related configuration data for the page ...
分类:
数据库 时间:
2015-03-13 16:18:51
阅读次数:
222