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