
内部排序
qhmilanista
这个作者很懒,什么都没留下…
展开
-
直接插入排序(C语言实现)
#include #include #define MAXSIZE 20 typedef int KeyType; typedef struct{ KeyType key; //InfoType otherinfo; }RedType; typedef struct{ RedType r[MAXSIZE+1]; int len原创 2012-07-12 00:23:40 · 383 阅读 · 0 评论 -
起泡排序
#include #include #define MAXSIZE 20 typedef int Keytype; #define TRUE 1 #define FALSE 0 typedef struct{ Keytype key; //InfoType otherinfo; }RedType; typedef struct{原创 2012-07-13 02:54:11 · 275 阅读 · 0 评论 -
快速排序
#include #include #define MAXSIZE 20 typedef int Keytype; typedef struct{ Keytype key; //InfoType otherinfo; }RedType; typedef struct{ RedType r[MAXSIZE原创 2012-07-14 18:03:56 · 306 阅读 · 0 评论