- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 快速排序(迭代)——ANSI C实现
typedef int ElementType; /* * 分区信息结点(组成单链表) * * */ typedef struct PartitionNode PartitionNode; struct PartitionNode { int low; int high; PartitionNode *next; }; /* * 由存放分区信息的单链表
2012-10-30 19:35:49 1762 1
原创 二路归并排序(迭代)——ANSI C实现
typedef int ElementType; /* * 将两个数组有序归并到一个数组中 * * 输入参数1:第一个数组 * 输入参数2:第一个数组的尺寸 * 输入参数3:第二个数组 * 输入参数4:第二个数组的尺寸 * * 返回类型:有序归并后的新数组 * * */ void MergeArray(ElementType *arr1, in
2012-10-30 10:13:07 913
原创 堆排序——ANSI C实现
typedef int ElementType; /* 利用中间变量的交换算法 */ void Swap(ElementType *a, ElementType *b) { ElementType temp; temp = *a; *a = *b; *b = temp; } /* * 在控制台打印数组(整数) * * */ void PrintA
2012-10-29 09:17:29 901 4
OpenStack术语表
2013-01-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人