[leetcode]Determine whether an integer is a palindrome. Do this without extra space....
分类:
其他好文 时间:
2014-10-14 12:32:38
阅读次数:
137
Problem:Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindr...
分类:
其他好文 时间:
2014-10-13 12:18:49
阅读次数:
100
做了一个 《android4编程入门经典》的实例,总结如下: /* * 总结: * Intent 传递参数的方式(两个成员变量) * 1/ Extra * 存值:i.putExtra() 可以存 字符串 / 整型 / Bundle型 * * 取值:i.getExtr...
分类:
移动开发 时间:
2014-10-12 17:41:18
阅读次数:
159
map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . let Tlist_Show_One_File=1 let Tlist_Exit_OnlyWindow=1 let Tlist_Auto_Open=1 set nocom...
Remove Duplicates from Sorted Array I
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for an...
分类:
其他好文 时间:
2014-10-11 16:19:56
阅读次数:
140
BFS:Is it possible that a solution exists using only one single queue? Yes, you bet. The single queue solution requires two extra counting variables w...
分类:
其他好文 时间:
2014-10-11 03:37:04
阅读次数:
190
题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space fo...
分类:
其他好文 时间:
2014-10-10 20:19:34
阅读次数:
176
Debian's default Apache2 installation attempts to make adding and
removing modules, virtual hosts, and extra configuration directives as
flexible as...
分类:
其他好文 时间:
2014-10-09 14:46:34
阅读次数:
237
问题描述:
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this in place
...
分类:
其他好文 时间:
2014-10-09 02:58:47
阅读次数:
175
通过第一个例子来全面看下作replace第二个参数的函数的参数。。。。听起来是有点绕→_→例://第一参数为正则表达式 1 var url = "http://www.softwhy.com/forum.php?mod=viewthread&tid=14743&extra=page%3D1"; 2 ...
分类:
编程语言 时间:
2014-10-09 01:31:57
阅读次数:
358