[leetcode]Determine whether an integer is a palindrome. Do this without extra space....
分类:
其他好文 时间:
2014-10-14 12:32:38
阅读次数:
137
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:
编程语言 时间:
2014-10-14 02:20:48
阅读次数:
203
Source Insight 捷键及使用技巧
退出程序 :Alt+F4
重画屏幕 :Ctrl+Alt+Space
完成语法 :Ctrl+E
复制一行 :Ctrl+K
恰好复制该位置右边的该行的字符: Ctrl+Shift+K
复制到剪贴板 :Ctrl+Del
剪切一行 :Ctrl+U
剪切该位置右边的该行的字符 :Ctrl+;
剪切到剪贴板 :Ctrl+Shift+X
剪切一...
分类:
其他好文 时间:
2014-10-13 18:31:50
阅读次数:
264
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
分类: Python 多行缩进(减少缩进):tab/shift+tab 复制行: Ctrl+Alt+方向键'↓' 删除行:Ctrl+d 自动完成:Alt+/ 注释:Ctrl+/ 窗口最大小:Ctrl+m 1 几个最重要的快捷键 代码助手:Ctrl+Space(简体中文操作系统是Alt+/)快速修正:...
分类:
其他好文 时间:
2014-10-12 23:45:18
阅读次数:
298
最近在tomcat 上部署工程的时候,发现工程一直起不来,查看日志发现前端送给后台的数据是正常的,后天也返回了数据给前端。并且前端返回了一个PermGen space 内存不足的错误,然后才发现是tomcat的内存空间不足。tomcat 的内存泄露主要存在三种形式:1.java.lang.OutOf...
分类:
其他好文 时间:
2014-10-12 17:46:28
阅读次数:
258
Problem
Given a list of space separated words, reverse the order of the words. Each line of text contains L letters and W words.
A line will only consist of letters and space characters. There will...
分类:
其他好文 时间:
2014-10-12 13:11:28
阅读次数:
133
转自:算法的空间复杂度类似于时间复杂度的讨论,一个算法的空间复杂度(Space Complexity)S(n)定义为该算法所耗费的存储空间,它也是问题规模n的函数。渐近空间复杂度也常常简称为空间复杂度。空间复杂度(Space Complexity)是对一个算法在运行过程中临时占用存储空间大小的量度。...
分类:
编程语言 时间:
2014-10-12 03:12:07
阅读次数:
264
The geometric median of a discrete set of sample points in a Euclidean space is the point minimizing the sum of distances to the sample points. This g...
分类:
其他好文 时间:
2014-10-11 21:09:46
阅读次数:
222
invlpg 指令简介
void
tlb_invalidate(pde_t *pgdir, void *va)
{
// Flush the entry only if we're modifying the current address space.
// For now, there is only one address space, so...
分类:
其他好文 时间:
2014-10-11 18:13:55
阅读次数:
214