随笔分类 -  数据结构

摘要:#include <stdio.h> // c 库 #include <stdlib.h> //maclloc 库 #include <iostream> // c++ 库 // 有本句 ,下面cout 前面可以没有 std:: using namespace std; typedef int El 阅读全文
posted @ 2021-10-10 13:44 abel2020 阅读(48) 评论(0) 推荐(0)
摘要:交换--冒泡 交换-快速 插入- 直接 插入-shell ~ 选择-简单选择 选择-堆 构建堆: 调整堆: 归并 治阶段 合并详解: 基数 阅读全文
posted @ 2021-09-17 22:15 abel2020 阅读(47) 评论(0) 推荐(0)
摘要:很多资料都是带头结点的栈实现,感觉不带头结点实现也更容易啊。 // 有本句 ,下面cout 前面可以没有 std:: using namespace std; typedef char ElemType; //元素数据类型 char #define MAXSIZE 10 //普通链节点结构 type 阅读全文
posted @ 2021-09-17 11:19 abel2020 阅读(51) 评论(0) 推荐(0)
摘要:#include <stdio.h> // c 库 #include <stdlib.h> //maclloc 库 #include <iostream> // c++ 库 // 有本句 ,下面cout 前面可以没有 std:: using namespace std; typedef char E 阅读全文
posted @ 2021-09-17 01:24 abel2020 阅读(60) 评论(0) 推荐(0)
摘要://#include <stdio.h> // c 库 #include <stdlib.h> //maclloc 库 #include <iostream> // c++ 库 // 有本句 ,下面cout 前面可以没有 std:: using namespace std; typedef int 阅读全文
posted @ 2021-09-16 14:41 abel2020 阅读(88) 评论(0) 推荐(0)
摘要://#include <stdio.h> // c 库 #include <stdlib.h> //maclloc 库 #include <iostream> // c++ 库 #include <time.h> // 有本句 ,下面cout 前面可以没有 std:: using namespace 阅读全文
posted @ 2021-09-13 22:45 abel2020 阅读(49) 评论(0) 推荐(0)
摘要://#include <stdio.h> // c 库 #include <stdlib.h> //maclloc 库 #include <iostream> // c++ 库 // 有本句 ,下面cout 前面可以没有 std:: using namespace std; typedef int 阅读全文
posted @ 2021-09-12 17:54 abel2020 阅读(33) 评论(0) 推荐(0)
摘要://#include <stdio.h> // c 库 #include <stdlib.h> //maclloc 库 #include <iostream> // c++ 库 // 有本句 ,下面cout 前面可以没有 std:: using namespace std; #define MAXS 阅读全文
posted @ 2021-09-05 20:19 abel2020 阅读(551) 评论(0) 推荐(0)
摘要://#include <stdio.h> // c 库 #include <stdlib.h> //maclloc 库 #include <iostream> // c++ 库 // 有本句 ,下面cout 前面可以没有 std:: using namespace std; #define MAXS 阅读全文
posted @ 2021-09-04 00:53 abel2020 阅读(334) 评论(0) 推荐(0)
摘要://#include <stdio.h> // c 库 #include <stdlib.h> //maclloc 库 #include <iostream> // c++ 库 // 有本句 ,下面cout 前面可以没有 std:: using namespace std; typedef char 阅读全文
posted @ 2021-09-01 18:53 abel2020 阅读(59) 评论(0) 推荐(0)
摘要://#include <stdio.h> // c 库 #include <stdlib.h> //maclloc 库 #include <iostream> // c++ 库 // 有本句 ,下面cout 前面可以没有 std:: using namespace std; #define MAXS 阅读全文
posted @ 2021-08-15 23:39 abel2020 阅读(55) 评论(0) 推荐(0)