基本数据结构-不带头结点单链表-删除最小值(高效算法) 摘要:# 代码 ```c void del_min(LNode *&L){ LNode *minp=L; LNode *p=L->next; while(p!=NULL){…… 文章列表 2023年10月02日 0 点赞 0 评论 207 浏览 评分:0.0
队列.链式。C语言 摘要:#include<stdio.h>#include<stdlib.h>typedef struct Node{ int data; struct Node *next;}Qnod…… 文章列表 2023年10月02日 0 点赞 0 评论 184 浏览 评分:0.0
基本数据结构-带头节点单链表-删除最小值点(高效算法) 摘要:# 代码 ```c void del_min(LNode *&L){ LNode *p=L->next; LNode *minp=L; while(p->next!=…… 文章列表 2023年09月30日 0 点赞 0 评论 266 浏览 评分: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 评论 165 浏览 评分:0.0
基本数据结构-带头节点的单链表-删除第一个值为x的节点 摘要:# 代码 ```c void Del_fistx(LNode *&L,int x){ LNode *p,*q; while(p->next!=NULL){ i…… 文章列表 2023年09月28日 0 点赞 0 评论 179 浏览 评分: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 评论 211 浏览 评分:9.9
顺序表形式的队列.简洁易懂.C语言 摘要:#include #include typedef struct Qnode { int data[20]; //`做一个二十个空间的队列; int …… 文章列表 2023年09月28日 0 点赞 1 评论 134 浏览 评分:0.0
基本数据结构-不带头节点的单链表-删除所有值为x的节点(递归算法) 摘要:# 代码 ```c void del_x(LNode *&L,int x){ LNode *p; if(L==NULL) return false; …… 文章列表 2023年09月28日 0 点赞 0 评论 202 浏览 评分:0.0
基本数据结构-单链表-默认结构体 摘要:# 代码 ```c typedef struct LNode{ int data; struct LNode *next; }LNode *Linklist; ``` #…… 文章列表 2023年09月28日 0 点赞 0 评论 226 浏览 评分: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 评论 180 浏览 评分:0.0