06 2020 档案

邻接矩阵
摘要:#include <stdio.h> #include <stdlib.h> #include <string.h> #define OVERFLOW -2 #define ERROR 0 #define OK 1 #define Length (q.rear+1)%QUEUE_MAXSIZE // 阅读全文
posted @ 2020-06-14 10:55 寒门行 阅读(464) 评论(0) 推荐(0)
哈夫曼树的编码实现
摘要:#include<stdio.h> #include<string.h> #include<stdlib.h> //树结点定义 typedef struct { int weight; int parent; int lchild; int rchild; }HTNode,*HuffmanTree; 阅读全文
posted @ 2020-06-14 10:53 寒门行 阅读(1020) 评论(0) 推荐(0)
哈希排序法的表示
摘要:#include<stdlib.h>#include<stdio.h>#define NULL 0typedef int KeyType;typedef struct{ KeyType key;} ElemType;int haxi(KeyType key,int m) /*根据哈希表长m,构造除留 阅读全文
posted @ 2020-06-14 10:50 寒门行 阅读(344) 评论(0) 推荐(0)
数据结构———图
摘要:https://baijiahao.baidu.com/s?id=1629054934725051961&wfr=spider&for=pc 阅读全文
posted @ 2020-06-14 10:47 寒门行 阅读(196) 评论(0) 推荐(0)