
数据结构
文章平均质量分 76
lhlcode
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
{希尔排序、快速排序、动态数组、单链表、字符串转整型}大综合
#include #include #include #define maxarray 10 typedef struct LNode //定义单链表节点 { int data; struct LNode * next; }LNode,*Linklis原创 2011-10-17 15:19:14 · 475 阅读 · 0 评论 -
输入任意个数字存入单链表中
#include #include typedef struct LNode //定义单链表节点 { int data; struct LNode * next; }LNode,*Linklist; /*--------------------------原创 2011-10-17 13:36:41 · 3266 阅读 · 0 评论 -
快速排序
#include #include #define maxarray 10 //定义待排序数组长度 /*---------------------------- 函数名:QuickSort() 功能:快速排序递归实现 结果:依次对数组进行单轮排序,直到把数组分成有原创 2011-10-13 23:09:20 · 386 阅读 · 0 评论 -
堆排序
#include #include #define maxarray 10 /*------------------------------ 函数类型:void 功能:堆排序 -------------------------------*/ void HeapSort(int arr[],int n); /*------------------------------ 函数原创 2011-10-18 21:21:26 · 303 阅读 · 0 评论