Chinaunix首页 | 论坛 | 博客
  • 博客访问: 353660
  • 博文数量: 60
  • 博客积分: 15
  • 博客等级: 民兵
  • 技术积分: 1138
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-20 16:18
个人简介

最多140个字

文章分类

全部博文(60)

文章存档

2016年(1)

2015年(34)

2014年(25)

发布时间:2015-03-03 16:45:33

反转链表#includestruct ListNode{    int m_nKey;    struct ListNode* m_pNext;};void ReverseList(struct ListNode** pHead).........【阅读全文】

阅读(5825) | 评论(0) | 转发(3)

发布时间:2015-03-21 13:06:09

#include#includetypedef struct list{    int data;    struct list *next;}list;void swap(int *a,int *b){    int .........【阅读全文】

阅读(2213) | 评论(0) | 转发(0)

发布时间:2014-04-28 19:48:40

点击(此处)折叠或打开#ifndef __BINARYSEARCHTREE_H__#define __BINARYSEARCHTREE_H__//templateclass BinarySearchTree{    private:   &.........【阅读全文】

阅读(2208) | 评论(0) | 转发(1)

发布时间:2014-04-14 14:33:35

图示:点击(此处)折叠或打开//转载#include #include #include#define SKIPLIST_MAXLEVEL 8 typedef struct skiplistNode{ &nbs.........【阅读全文】

阅读(2046) | 评论(0) | 转发(0)

发布时间:2014-04-04 11:18:53

//数据结构与算法分析点击(此处)折叠或打开#includeint gcd1(int m,int n)//m>=n{    if(n==0)        return m;//printf("%d\n",m);.........【阅读全文】

阅读(1981) | 评论(0) | 转发(0)

发布时间:2014-03-21 15:47:26

点击(此处)折叠或打开int a[10];n=10;------------------------------------------------//直接插入排序void InsertSort(int *a, int n)//下标从0开始。{    int i; .........【阅读全文】

阅读(2391) | 评论(0) | 转发(0)

发布时间:2014-03-20 18:45:20

点击(此处)折叠或打开//折半插入排序void BinaryInsertSort(int* a,int n)//下标从0开始。{    int i;    int j;    for(i=1;i......【阅读全文】

阅读(1829) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册