算法数据结构
qhmilanista
这个作者很懒,什么都没留下…
展开
-
起泡排序
#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 · 260 阅读 · 0 评论 -
选择排序
#include #include #define MAXSIZE 20 typedef int Keytype; typedef struct{ Keytype key; //InfoType otherinfo; }RedType; typedef struct{ RedType r[MAXSIZE+1]; int length; }SqList; int Se原创 2012-07-15 02:23:21 · 338 阅读 · 0 评论 -
直接插入排序(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 · 366 阅读 · 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 · 284 阅读 · 0 评论