![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构作业题
文章平均质量分 73
我就是个five
辣鸡考研er
展开
-
单链表的基本操作
#include<iostream>#include<cstdio>#include<cstdlib> using namespace std; typedef struct node { struct node *next; int data; }*List; void initList(List *L) { *L=(node*)malloc(siz...原创 2018-05-17 22:51:11 · 108 阅读 · 0 评论 -
单链表删除所有值为key的删除操作
#include<iostream>#include<cstdlib>using namespace std; typedef struct node{ node *next; int data;}*List; void init(List *L){ *L=new node; (*L)->next=NULL;}// void DeleteList...原创 2018-05-18 13:55:56 · 2863 阅读 · 0 评论