Given a sorted linked list, delete all
duplicates such that each element appear onlyonce.For
example,Given1->1->2, return1->2.Given1->1->2->3->3,
retu...
分类:
其他好文 时间:
2014-07-22 23:12:13
阅读次数:
426
Single NumberGiven an array of integers, every
element appearstwiceexcept for one. Find that single one.Note:Your algorithm
should have a linear runti...
分类:
其他好文 时间:
2014-07-22 23:07:14
阅读次数:
337
DEMOhttp://code.ciaoca.com/jquery/kxbdmarquee/demo/官网http://code.ciaoca.com/jquery/kxbdmarquee/DOM
结构CSS 样式/**父容器需要设置溢出隐藏*如果是水平滚动,项目需要设置浮动*/#element_i...
分类:
Web程序 时间:
2014-04-30 17:04:03
阅读次数:
564
def highlight_element(self, locator):
"""docstring for highlight_element""" self._info("start") element =
self._element_find(...
分类:
Web程序 时间:
2014-04-30 03:28:21
阅读次数:
610
2014-04-29
02:27题目:找出10亿个数中最小的100万个数,假设内存可以装得下。解法1:内存可以装得下?可以用快速选择算法得到无序的结果。时间复杂度总体是O(n)级别,但是常系数不小。代码:
1 // 18.6 Find the smallest one million number....
分类:
其他好文 时间:
2014-04-29 14:27:13
阅读次数:
665
在ubuntu9.04的时代,自带的输入法一直认为不够好用,看到了搜狗的云输入法,故产生了移植的想法。
通过chrome的inspect Element功能,我发现了搜狗、百度、QQ云输入法的接口。公布一下,供大家参考。
百度http://olime.baidu.com/py?py=bit&rn=0&pn=5
搜狗http://web.pinyin.sogou.com/api/py?ke...
分类:
系统相关 时间:
2014-04-29 13:23:20
阅读次数:
584
Jump GameGiven an array of non-negative
integers, you are initially positioned at the first index of the array.Each
element in the array represents yo...
分类:
其他好文 时间:
2014-04-28 11:30:27
阅读次数:
551
时间:2013-09-06 | 10:24作者:玉面小飞鱼
分类:DOM,js相关,前端技术2,222次浏览1.
定义Property:属性,所有的HTML元素都由HTMLElement类型表示,HTMLElement类型直接继承自Element并添加了一些属性,添加的这些属性分别对应于每个HTML...
分类:
编程语言 时间:
2014-04-27 21:28:51
阅读次数:
635
高手就可以直接跳过了,刚开始学习javascript,从零开始, 记录一点一滴,不断提高。菜鸟的不断成长。
下面就写上几个简单的JS 入门代码吧。高手就不要BS了
function changeImage(){
element=document.getElementById("myimage")
if(element.src.match("bulbon")...
分类:
编程语言 时间:
2014-04-27 21:18:00
阅读次数:
340