??
问题描述:
Determine whether an integer is a palindrome. Do thiswithout extra space.
click to showspoilers.
Some hints:
Could negative integers be palindromes? (ie, -1)
If yo...
分类:
其他好文 时间:
2015-04-04 09:18:33
阅读次数:
137
题目:Word Break通过率:22.6%难度:中等Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more ...
分类:
其他好文 时间:
2015-04-03 23:44:22
阅读次数:
171
Usage: fuser [ -a | -s | -c ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME... [ - ] [ -n SPACE ] [ -SIGNAL ] [ -kimuv ] NAME... fuser -l...
分类:
系统相关 时间:
2015-04-03 18:48:15
阅读次数:
169
题目: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 w...
分类:
其他好文 时间:
2015-04-03 15:18:13
阅读次数:
98
1、单行文本溢出显示省略号的css写法1 overflow:hidden;2 text-overflow:ellipsis;3 white-space:nowrap;/*不换行*/2、多行文本显示省略号 这里根据应用场景来实现 1)Webkit浏览器或移动端页面 可以使用webkit的私有属性...
分类:
Web程序 时间:
2015-04-03 13:28:55
阅读次数:
176
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:
其他好文 时间:
2015-04-03 13:17:49
阅读次数:
120
1、一行文字自适应屏幕(不折行,隐藏多余文字,显示省略号) white-space: nowrap; text-overflow: ellipsis; overflow: hidden; 以上三个样式同时使用。
分类:
Web程序 时间:
2015-04-03 13:02:14
阅读次数:
133
Unique Paths II - LeetCode
题目:
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is mar...
分类:
其他好文 时间:
2015-04-03 09:32:22
阅读次数:
105
ul li{ height:25px; line-height:25px; width:200px; overflow:hidden; white-space:nowrap;-moz-text-overflow:ellipsis; text-overflow:ellipsis; }注意以上几个的先后...
分类:
其他好文 时间:
2015-04-02 22:34:44
阅读次数:
130