Given a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After re...
分类:
其他好文 时间:
2014-11-05 08:04:14
阅读次数:
177
linux链表之:使用for循环添加链表、list_add、list_add_tail...
分类:
系统相关 时间:
2014-11-05 00:30:38
阅读次数:
448
function load_script(xyUrl, callback){ var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); sc...
分类:
其他好文 时间:
2014-11-05 00:10:12
阅读次数:
206
* 确保没有任何编译警告 * Erlang中String采用list实现,32位系统中,其1个字符用8个字节的空间(4个保存value, 4个保存指针)。因此string速度较慢,空间占用较大 * 在Server中,总是尽力书写尾递归(tail-recursi...
分类:
其他好文 时间:
2014-11-04 22:56:08
阅读次数:
396
1.linux文件操作cat test.txt | head -n 100 查看开始100行cat finalout.txt | head -n 100 | cut -d , -f 2 安装,分割各行,取第2个位置的数据cat test.txt |sed 's/""//g' 查看下效果cat fi....
分类:
系统相关 时间:
2014-11-04 22:31:43
阅读次数:
187
用结构体构建单链表例子:int main (){ struct student head; struct student body; struct student end; struct student *p; head.a = 10; head.b = 20; body...
分类:
编程语言 时间:
2014-11-04 22:27:31
阅读次数:
197
页面xtime(如5)秒后,自动跳转到url指定的页面meta标签放入head标签里面
分类:
其他好文 时间:
2014-11-04 12:40:25
阅读次数:
106
1.document.write("");输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5....
分类:
编程语言 时间:
2014-11-04 12:39:45
阅读次数:
182
HEAD detached from 是一个临时的头指针,正常的头指针是指向分支的,这种情况下头指针是游离在分支之外。虽然可以在本地进行一切的git操作,但是如果要想远程库推送的时候就会出现问题。解决方法如下:1.git fetch origin _branch:_branch _branch 是....
分类:
其他好文 时间:
2014-11-04 12:24:21
阅读次数:
664
cmstop-error.csshtml,body,head,div,p,a { margin: 0; padding: 0;}.body-bg { background-color: #dff1f4;}.main { width: 700px; overflow: h...
分类:
其他好文 时间:
2014-11-04 10:54:45
阅读次数:
295