基本数据结构-带头节点单链表-删除最小值点(高效算法) 摘要:# 代码 ```c void del_min(LNode *&L){ LNode *p=L->next; LNode *minp=L; while(p->next!=…… 文章列表 2023年09月30日 0 点赞 0 评论 210 浏览 评分:0.0
基本数据结构-单链表-删除给定值在s和t之间的所有元素(不包含s,t) 摘要:# 代码 ```c void del_x(LNode *&L,int min,int max){ LNode *p=L; while(L!=NULL){ if…… 文章列表 2023年09月30日 0 点赞 0 评论 121 浏览 评分:0.0
基本数据结构-带头节点的单链表-删除第一个值为x的节点 摘要:# 代码 ```c void Del_fistx(LNode *&L,int x){ LNode *p,*q; while(p->next!=NULL){ i…… 文章列表 2023年09月28日 0 点赞 0 评论 124 浏览 评分:0.0
基本数据结构-带头结点单链表-删除值为x的节点 摘要:# 代码一 ```c void del_x(LNode *&L,int x){ LNode *pre=L,*p=L->next,*q; while(p!=NULL){ …… 文章列表 2023年09月28日 0 点赞 0 评论 151 浏览 评分:9.9
顺序表形式的队列.简洁易懂.C语言 摘要:#include #include typedef struct Qnode { int data[20]; //`做一个二十个空间的队列; int …… 文章列表 2023年09月28日 0 点赞 1 评论 84 浏览 评分:0.0
基本数据结构-不带头节点的单链表-删除所有值为x的节点(递归算法) 摘要:# 代码 ```c void del_x(LNode *&L,int x){ LNode *p; if(L==NULL) return false; …… 文章列表 2023年09月28日 0 点赞 0 评论 145 浏览 评分:0.0
基本数据结构-单链表-默认结构体 摘要:# 代码 ```c typedef struct LNode{ int data; struct LNode *next; }LNode *Linklist; ``` #…… 文章列表 2023年09月28日 0 点赞 0 评论 177 浏览 评分:9.9
基本数据结构-顺序表-求出两个递增序列合并后的中位数 摘要:# 代码一 ```c int Find(Sqlist A,Sqlist B){ int i=0,j=0,k=0; Sqlist C; while(i…… 文章列表 2023年09月27日 0 点赞 0 评论 132 浏览 评分:0.0
基本数据结构-顺序表-两个递增有序表合并成一个递增有序表 摘要:# 代码 ```c bool merge(Sqlist A,Sqlist B,Sqlist &C){ int i=0,j=0,k=0; while(i…… 文章列表 2023年09月27日 0 点赞 0 评论 125 浏览 评分:0.0
基本数据结构-顺序表-有序表中删除所有值重复的元素 摘要:# 代码 ```c bool DEL_mm(Sqlist &L){ for(int i=0,j=1;j…… 文章列表 2023年09月27日 0 点赞 0 评论 130 浏览 评分:0.0