- 博客(2)
- 收藏
- 关注
原创 数据结构:头插法尾插法建单链表(可选)
#include<stdio.h>#include <stdlib.h>#include <malloc.h>typedef char ElemType; typedef struct node { ElemType data; struct node *next;}Node,*LinkList; void InitList(Link...
2019-04-30 22:35:56 703
原创 数据结构:头插法建立单链表
#include<stdio.h>#include <stdlib.h>#include <malloc.h>typedef int ElemType; // 把后面的int都用ElemType代替,这样,要是要把后面的int改为double,直接改为typedef double ElemType就可以了typedef struct node //...
2019-04-30 17:27:03 2442
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人