![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构(C语言版)
Tiramisu_zyp
这个作者很懒,什么都没留下…
展开
-
栈
#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2typedef int Status;typedef int SElemType;栈的定义和基本操作:1.顺序栈结点:#define STACK_INIT_SI原创 2015-06-15 17:11:24 · 257 阅读 · 0 评论 -
线性表的链表表示和实现
预定义:#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2typedef int Status;typedef int ElemType;原创 2015-06-12 12:25:17 · 529 阅读 · 0 评论 -
链队列
#include #include #define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2typedef int Status;typedef int QElemType;typedef struct QNode { QElemType原创 2015-06-15 21:54:52 · 320 阅读 · 0 评论 -
循环链表
#include #include #define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2typedef int Status;typedef int QElemType;#define MAXQSIZE 100typedef str原创 2015-06-15 22:15:57 · 389 阅读 · 0 评论 -
线性表的顺序实现
#include #include #define LIST_INIT_SIZE 50#define LIST_ADD_SIZE 10#define OK 1#define OVERFLOW -1#define ERROR -1#define NOTFOUND -1typedef int elemtype;struct seqlist{ elemtype *原创 2015-09-16 23:29:41 · 367 阅读 · 0 评论