码迷,mamicode.com
首页 >  
搜索关键字:list add    ( 89211个结果
31.从尾到头输出链表
Print a linked list from last to first.
分类:其他好文   时间:2014-05-22 00:06:27    阅读次数:258
33.在O(1)时间删除链表结点
Delete node in linked list in O(1).
分类:其他好文   时间:2014-05-22 00:05:51    阅读次数:190
Platform设备之gpio-led分析
Platform设备之gpio-led分析led测试以使用的9263板子为例,首先看board-sam9263ek.c的ek_board_init函数,static void __init ek_board_init(void){ /* Serial */ at91_add_device_seria...
分类:其他好文   时间:2014-05-21 23:43:48    阅读次数:306
动态操作DOM节点js实现
近日再次翻看《javascript面向对象编程指南》这本书,读到浏览器环境一章,渐渐明白了js作为脚本语言,需要依托宿主环境来实现功能,从浏览器角度考虑,就是对浏览器的BOM和DOM的操作。DOM操作又可分为:访问、修改、删除、新建。每种操作都有独特的方法和属性。下面取dom节点的访问、新建和删除的功能实例来讲解(参考文章)。     function add()//动态添加表格的例子...
分类:Web程序   时间:2014-05-21 16:20:11    阅读次数:299
Iptables防火墙配置
Iptables防火墙配置 安装防火墙 sudo apt-get install iptables 查看状态 sudo iptables --list sudo iptables -A OUTPUT -p tcp --dport 80 -j DROP 浏览器不能上网 清除防火墙设置 Sudo iptables -F Sudo iptables  -D OUTPUT...
分类:其他好文   时间:2014-05-21 16:18:12    阅读次数:316
leetcode -day20 Add Two Numbers
1、 ?? Add Two Numbers  You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two num...
分类:其他好文   时间:2014-05-21 10:49:10    阅读次数:221
用List传递学生信息
用List传递学生信息,list的使用...
分类:其他好文   时间:2014-05-21 09:46:05    阅读次数:188
用alter关键字为Table增加新字段(sqlite)
ALTER TABLE sql-statement ::= ALTER TABLE [database-name .] table-name alteration alteration ::= RENAME TO new-table-name alteration ::= ADD [COLUMN] column-def     SQLite...
分类:数据库   时间:2014-05-21 08:10:45    阅读次数:344
Leetcode:Reverse Linked List II 单链表区间范围内逆置
Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL. Note: Given m, n satisfy the fol...
分类:其他好文   时间:2014-05-21 07:18:02    阅读次数:301
定制django admin页面的跳转
在django admin的 change_view, add_view和delete_view页面,如果想让页面完成操作后跳转到我们想去的url,该怎么做默认django admin会跳转到changelist_view页面------------------------------下面的代码是d...
分类:其他好文   时间:2014-05-21 05:31:25    阅读次数:321
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!