码迷,mamicode.com
首页 >  
搜索关键字:list    ( 54897个结果
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.For example,Given linked list: 1->2->3->4->5, and n = 2.After removing the second node from the end, the linked list...
分类:其他好文   时间:2015-08-08 18:23:31    阅读次数:89
_DataStructure_C_Impl:广义表的扩展线性链表存储
#include #include #include #include"SeqString.h" typedef char AtomType; typedef enum{ATOM,LIST} ElemTag;//ATOM=0,表示原子,LIST=1,表示子表 typedef struct GLNode{ ElemTag tag; //标志位tag用于区分元素是原子还是子表 union{ ...
分类:其他好文   时间:2015-08-08 18:18:27    阅读次数:122
_DataStructure_C_Impl:广义表头尾链表存储
#include #include #include #include"SeqString.h" typedef char AtomType; typedef enum{ATOM,LIST} ElemTag;//ATOM=0,表示原子,LIST=1,表示子表 typedef struct Node { ElemTag tag; /*标志位tag用于区分元素是原子还是子表*/ union...
分类:其他好文   时间:2015-08-08 18:18:16    阅读次数:119
解决ubuntu下无线网络不可用
环境: ubuntu 15.04网卡:atheros ar9485终端:~$ sudo rfkill list all0: acer-wireless: Wireless LAN Soft blocked: yes Hard blocked: no1: phy0: Wireless LA...
分类:系统相关   时间:2015-08-08 18:12:29    阅读次数:263
Chromium-Dev一些缩写
备案权tl;dr: && TL;DR; :"Too long;Don't read”PSA :"Publice Service Announcement“IMO :"In my opinion"CL :"Change List"CQ: "Commit Queue"LGTM: "Looks good ...
分类:其他好文   时间:2015-08-08 18:09:14    阅读次数:232
LeetCode(82)题解: Remove Duplicates from Sorted List II
https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/题目:Given a sorted linked list, delete all nodes that have duplicate numbers, leavi...
分类:其他好文   时间:2015-08-08 17:52:17    阅读次数:115
nexus私有仓库搭建
步骤:下载安装JDK(注意可用版本)1.查看CentOS自带JDK是否已安装,输入:1yum list installed |grep java一般来说,如果是新装CentOS系统的话,不会有JDK,如果有的话,就执行相关卸载操作,大概会是这样的:openjdk1yum -y remove java...
分类:其他好文   时间:2015-08-08 17:48:31    阅读次数:262
Java集合类Sort排序的使用方法
用Collections.sort方法对list排序有两种方法 第一种是list中的对象实现Comparable接口,如下: public class User implements Comparable                                               ...
分类:编程语言   时间:2015-08-08 16:34:31    阅读次数:115
LeetCode(83)题解: Remove Duplicates from Sorted List
https://leetcode.com/problems/remove-duplicates-from-sorted-list/题目:Given a sorted linked list, delete all duplicates such that each element appear on...
分类:其他好文   时间:2015-08-08 16:17:27    阅读次数:93
C语言接口与实现学习笔记——链表
实现一个链表的一系列接口,体会了指针的用法list.h#ifndef LIST_INCLUDE#define LIST_INCLUDE#define T List_Ttypedef struct T *T;struct T{ T rest; void *first;};extern T ...
分类:编程语言   时间:2015-08-08 16:10:11    阅读次数:176
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!