题目:
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node fr...
分类:
其他好文 时间:
2014-08-28 18:12:35
阅读次数:
289
添加
redis.opsForSet().add("ANHMD", t);
参数Key,Value
删除
redis.opsForSet().remove("ANHMD", t);
查找
boolean s = redis.opsForSet().isMember("ANHMD", t);...
分类:
其他好文 时间:
2014-08-28 18:09:45
阅读次数:
672
jQuery.fn.outerHTML = function(s) { return (s) ? this.before(s).remove() : $("").append(this.eq(0).clone()).html(); }
分类:
Web程序 时间:
2014-08-28 17:51:45
阅读次数:
189
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2], [1,2,1],
and [2,1,1].
...
分类:
其他好文 时间:
2014-08-28 14:51:19
阅读次数:
148
这是一款基于Canvas的HTML5图表应用,在图表数据初始化的时候伴随动画效果。在线演示:点击演示源代码下载:点击下载核心jQuery代码:var myData = { labels : ["Mo","Di","Mi","Do","Fr","Sa","So"], datasets : [ { .....
分类:
Web程序 时间:
2014-08-28 13:17:19
阅读次数:
191
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the following unique per...
分类:
其他好文 时间:
2014-08-27 21:55:38
阅读次数:
242
帧动画实现很简单 --> 代码中使用begin开始,stop结束动画 FrameAnim.Begin();Fr...
分类:
其他好文 时间:
2014-08-27 20:08:08
阅读次数:
286
1 shell中for循环清理 每次去连接一下mongo, 进行数据的remove操作 echo "Begin ..." >> /root/time.log;
echo $(date +%Y-%m-%d-%H:%M:%S) >>/root/time.log;
for((i=1;i<=100000000;i++));
do
objec...
分类:
数据库 时间:
2014-08-27 16:48:08
阅读次数:
261
集合集合跟数组的区别:集合可以是不连续的、可以是多种数据类型数值、地址、下组元素地址 .Count 统计集合内元素的个数 .Add() 增加元素 .AddRange() 增加一组元素(比如一个数组) .Remove() 移除第一个()内的值 ....
分类:
其他好文 时间:
2014-08-27 09:18:47
阅读次数:
171
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:
其他好文 时间:
2014-08-27 01:37:16
阅读次数:
242