数据结构实现两个有序链表的合并(c语言)

数据结构实现两个有序链表的合并(c语言) 现有两个有序单链表,经过代码实现将两个单链表合并为一个有序的新表,要求使用旧表的空间,不能新分配内存web #include <stdio.h> #include <stdlib.h> typedef struct List { int a; struct List *next; }list; void newList(list *l) { //初始
相关文章
相关标签/搜索