- 博客(4)
- 收藏
- 关注
原创 堆排序
#include "stdio.h"#include "stdlib.h"#include "time.h"#define MAXSIZE 100typedef int Status;typedef int KeyType;typedef int infoType;typedef struct { KeyType key; infoType otherinfo;}RedType
2018-05-09 21:00:13
148
1
原创 赫夫曼树(从叶子到根逆向求每个字符)
#include#include#include#includetypedef struct{ unsigned int weight; unsigned int parent,lchild,rchild;}HTNode,*HuffmanTree;typedef char **HuffmanCode;void Select(HuffmanTree HT, int u, int &
2018-05-09 20:57:47
828
原创 简单选择排序
#include "stdio.h"#include "stdlib.h"#include "time.h"#define MAXSIZE 100typedef int Status;typedef int KeyType;typedef int infoType;typedef struct { KeyType key; infoType otherinfo;}RedType
2017-11-10 09:29:38
201
原创 快速排序
#include#include#include#define MAXSIZE 20typedef int KeyType;typedef int InfoType;typedef int Status;typedef struct { KeyType key; InfoType otherinfo;}RedType;typedef struct {
2017-11-09 21:50:57
137
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人