摘要: /* 线性表的合并 */ #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 阅读(197) 评论(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 阅读(550) 评论(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 阅读(88) 评论(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 阅读(44) 评论(0) 推荐(0) 编辑