Determine whether an integer is a palindrome. Do this without extra space. 题目:推断int数据是否为回文数 注意:负数不是回文数,0是最小的回文数 思路:此题和前面一道 求int数的反序差点儿相同http://blog.cs
分类:
其他好文 时间:
2016-02-03 11:40:50
阅读次数:
166
Segments Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11593 Accepted: 3657 Description Given n segments in the two dimensional space, wr
分类:
其他好文 时间:
2016-02-03 10:42:07
阅读次数:
221
Alt+/ 快速提示快捷键Eclipse3.3中把内容助手(Content Assist)的快捷键由 Alt+/ 改成了Ctrl+Space,这与操作系统的输入法切换的快捷键冲突,所以造成内容助手不能使用了。而已前Eclipse 3.2版本中的 Alt+/ 快捷键被作为新的单词补全(Word Com
分类:
系统相关 时间:
2016-02-03 01:50:56
阅读次数:
308
翻译给定一个单链表,确定它是否是回文的。跟进:
你可以在O(n)时间和O(1)空间下完成它吗?原文Given a singly linked list, determine if it is a palindrome.Follow up:
Could you do it in O(n) time and O(1) space?进阶bool judge(ListNode *head, ListNode...
分类:
其他好文 时间:
2016-02-02 15:13:49
阅读次数:
115
Error:Unable to start the daemon process: could not reserve enough space for object heap. Please assign more memory to Gradle in the project's gradle.
分类:
移动开发 时间:
2016-02-02 14:47:04
阅读次数:
155
QT Creator 代码自动补全 用QT Creater编程,如果没有自动补全是很痛苦的事情,于是便查阅了QT的文档,发现CTRL+SPACE是自 动补全的快捷键;但是在 Creater里使用居然没有效果,估计是输入法切换的冲突(CTRL+SPACE是我中英文输入的默认快捷 键)于是寻求解决方法,
分类:
其他好文 时间:
2016-02-01 23:52:47
阅读次数:
176
volume 就是一个存储设备,Volumn Space 就是这个存储设备的空间,而 File Space 就是File的Size。 A volume is a storage device, such as a fixed disk, floppy disk, or CD-ROM, that is
分类:
其他好文 时间:
2016-02-01 18:08:13
阅读次数:
161
一、Java内存的构成 先上一个官方java document里的图: 由上图可知,整块区域分为Young Generation、Tenured Generation、Permanent Generation。 详细解释一下Young区: Young区又分为:Eden、Survivor Space。
分类:
其他好文 时间:
2016-01-30 22:14:05
阅读次数:
215
more:fileperusalfilterforcrtviewing:文件查看less:oppositeofmore:与more相反morefile:分屏打印file并交还shell终端lessfile:打印file不会交还shell终端more|less:都支持用space向下翻屏,用b向上翻屏,用enter向下翻一行more中常用命令:=:输出当前行的行号:f:输..
分类:
系统相关 时间:
2016-01-29 21:21:05
阅读次数:
243
转自: http://blog.chinaunix.net/space.php?uid=11327712&do=blog&id=32416 MySQL 日期类型:日期格式、所占存储空间、日期范围 比较。 日期类型 存储空间 日期格式 日期范围 ------------ --------- -----
分类:
数据库 时间:
2016-01-29 15:48:32
阅读次数:
237