博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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 steve.z 阅读(5) 评论(0) 推荐(0) 编辑

摘要:// // 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 steve.z 阅读(50) 评论(0) 推荐(0) 编辑

摘要: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 steve.z 阅读(5) 评论(0) 推荐(0) 编辑

摘要:// // 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 steve.z 阅读(4) 评论(0) 推荐(0) 编辑

摘要:// // 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 steve.z 阅读(12) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示