摘要:// // main.c // HuffmanTree // // Created by steve xiaohu zhao on 2023/10/18. // #include <stdio.h> #include <stdlib.h> // 定义一个 Huffman Tree 的节点 struc
阅读全文
posted @ 2023-10-18 14:44
10 2023 档案
摘要:// // main.c // HuffmanTree // // Created by steve xiaohu zhao on 2023/10/18. // #include <stdio.h> #include <stdlib.h> // 定义一个 Huffman Tree 的节点 struc
阅读全文
posted @ 2023-10-18 14:44
摘要:// // main.c // BinarySearch // // Created by steve xiaohu zhao on 2023/10/16. // #include <stdio.h> // 二分法查找指定元素在数组中出现的索引位置 int BinarySearch(int *arr
阅读全文
posted @ 2023-10-17 16:17
摘要:typedef int Position; typedef struct LNode *List; struct LNode { ElementType Data[MAXSIZE]; Position Last; }; /* 初始化 */ List MakeEmpty() { List L; L =
阅读全文
posted @ 2023-10-16 20:54
摘要:// // main.c // SeqList2 // // Created by steve xiaohu zhao on 2023/10/15. // #include <stdio.h> #include <stdlib.h> #define MAXSIZE 100 /* 表示线性表的最大长度
阅读全文
posted @ 2023-10-16 20:13
摘要:// // main.c // SeqList // // Created by steve xiaohu zhao on 2023/10/15. // #include <stdio.h> #include <stdlib.h> #define MAXSIZE 100 // 定义一个顺序表的节点
阅读全文
posted @ 2023-10-15 21:34
|
||