数据结构
yyyllllll11
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
顺序表的基本操作
#include<stdio.h> #include<stdlib.h> #define List_Init_Size 5 #define Increament 10 typedef int ElemType; typedef int Status; typedef struct { ElemType *base; //base指向线性表起始指针 int l...原创 2019-04-25 21:31:43 · 347 阅读 · 0 评论 -
顺序表习题C语言
顺序表习题 #include<stdio.h> #include<stdlib.h> #include<stdbool.h> #define LIST_INIT_SIZE 5 typedef int ElemType; typedef struct { ElemType *pbase; int length; int maxsize }...原创 2019-08-02 20:35:57 · 490 阅读 · 0 评论 -
单链表的基本操作
定义结点的数据类型 #include<stdio.h> #include<stdlib.h> #define ERROR 0 #define OK 1 typedef int Status; typedef int ElemType; typedef struct LNode { ElemType data; //数据域 struct LNode *next; ...原创 2019-08-05 16:30:20 · 181 阅读 · 0 评论
分享