码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
scrapy1.1命令
help:scrapy的基本命令,用于查看帮助信息 version:查看版本信息,可见-V参数查看各组件的版本信息; startproject用于新建一个工程 genspider:在工程中产生一个spider,可产生多个spider,不同的spider要求name不同。 list:此工程中都有哪些s ...
分类:其他好文   时间:2016-07-05 10:17:29    阅读次数:141
contiki list 链表
1.1 LIST_CONCAT 该宏的作用非常简单,将s1,s2拼接在一起。其中,##起连接作用,编译器在预处理时负责将s1,s2连接在一起。比如hello_##world经过编译器预处理后就变成了hello_world了。 1.2 LIST 经过宏替换后,变为 该宏用于申明一个链表。可以将name ...
分类:其他好文   时间:2016-07-05 10:00:57    阅读次数:223
【leetcode】 21. Merge Two Sorted Lists
题目描述: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 解题 ...
分类:其他好文   时间:2016-07-05 01:10:38    阅读次数:216
Collection接口 Collection的通用方法 foreach Iterator 迭代器
Collection接口 单列集合的接口list 有索引 有序set 无索引 无序AbstractCollection是实现了Collection接口的抽象父类Collection<> c = new ArrayList<>();多态 只可以用父类的方法,不可以用子类特有的方法 Collection ...
分类:其他好文   时间:2016-07-05 01:10:24    阅读次数:392
【leetcode】19. Remove Nth Node From End of List
题目描述: Given a linked list, remove the nth node from the end of list and return its head. 解题分析: 这个题的关键是找到倒数第n个节点:设置两个标记变量,想让其中1个走n-1步,然后两个一起往后走,当第一个变量指 ...
分类:其他好文   时间:2016-07-05 01:08:57    阅读次数:154
centos6.5如何升级mysql(最小安装的情况下)
1、删除已经安装的mysql(已经确定安装过了,不确定就输入yum list installed | grep mysql看看) find / -name mysql 将找到的相关东西全删掉,尤其是后缀为sock的文件所在的文件夹,不然安装新版本后可能不能重启 2、更新yum源 (这时候要是报错:Y ...
分类:数据库   时间:2016-07-05 01:07:58    阅读次数:226
Android intent传递list或对象
方法一: 如果单纯的传递List<String> 或者List<Integer>的话 就可以直接使用 Java代码 intent.putStringArrayListExtra(name, value) intent.putIntegerArrayListExtra(name, value) 方法二 ...
分类:移动开发   时间:2016-07-05 01:06:19    阅读次数:220
【leetcode】25. Reverse Nodes in k-Group
题目描述: Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k  ...
分类:其他好文   时间:2016-07-05 01:05:26    阅读次数:120
[LintCode] Flatten Binary Tree to Linked List 将二叉树展开成链表
Flatten a binary tree to a fake "linked list" in pre-order traversal. Here we use the right pointer in TreeNode as the next pointer in ListNode. Notic ...
分类:其他好文   时间:2016-07-05 01:04:15    阅读次数:195
【leetcode】24. Swap Nodes in Pairs
题目描述: Given a linked list, swap every two adjacent nodes and return its head. 解题分析: 解题思路很简单,就是先两两扫描,然后调换顺序即可。这道题的难点在于每个节点的next域指向问题,所以解这样的题最好可以在纸上写一下交 ...
分类:其他好文   时间:2016-07-05 01:02:14    阅读次数:141
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!