摘要: 《将博客搬至CSDN》 阅读全文
posted @ 2023-12-22 16:16 CharHao 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<malloc.h> #include<stdlib.h> typedef int SElemType; typedef struct StackNode { SElemType data; struct StackNode* next; }Sta 阅读全文
posted @ 2021-11-06 21:10 CharHao 阅读(43) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<malloc.h> #include<stdlib.h> #define MAXSIZE 100 typedef int SElemType; typedef struct SqStack { SElemType* base;//栈底指针 SEl 阅读全文
posted @ 2021-11-06 20:53 CharHao 阅读(54) 评论(0) 推荐(0) 编辑
摘要: /* 线性表的合并 */ #include <stdio.h> #include <stdlib.h> #include <malloc.h> #include <stdbool.h> typedef int ElemType; typedef struct Lnode{ ElemType data 阅读全文
posted @ 2021-10-16 23:50 CharHao 阅读(194) 评论(0) 推荐(0) 编辑
摘要: /* 有序表的合并 用顺序表实现 */ #include <stdio.h> #include <stdlib.h> #include <malloc.h> #include <stdbool.h> #define MAXSIZE 100 typedef int ElemType; typedef 阅读全文
posted @ 2021-10-16 23:34 CharHao 阅读(491) 评论(0) 推荐(0) 编辑
摘要: /* 类似力扣21题 有序表的合并 用链表实现 */ #include <stdio.h> #include <stdlib.h> #include <malloc.h> typedef int ElemType; typedef struct Lnode{ ElemType data; struc 阅读全文
posted @ 2021-10-16 23:33 CharHao 阅读(87) 评论(0) 推荐(0) 编辑
摘要: /* 双链表 */ #include <stdio.h> #include <malloc.h> typedef int ElemType; typedef struct DuLNode{ ElemType data; struct DuLNode * prior, * next; }DuLNode 阅读全文
posted @ 2021-10-16 23:31 CharHao 阅读(43) 评论(0) 推荐(0) 编辑
摘要: /* 有序表的合并 用链表实现 */ #include <stdio.h> #include <stdlib.h> #include <malloc.h> typedef int ElemType; typedef struct Lnode{ ElemType data; struct Lnode 阅读全文
posted @ 2021-10-15 22:59 CharHao 阅读(57) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<stdlib.h> #include<malloc.h> typedef int ElemType; typedef struct Lnode { ElemType data; struct Lnode* next; }LNode, * Link 阅读全文
posted @ 2021-10-15 22:45 CharHao 阅读(109) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<malloc.h> #include<stdlib.h> #define MAXSIZE 100 typedef int ElemType; typedef struct SqList { ElemType* data; int length; 阅读全文
posted @ 2021-10-09 22:29 CharHao 阅读(90) 评论(0) 推荐(0) 编辑