![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 77
二手码农
生活无外乎是笑笑人家,再让人家笑笑
展开
-
数据结构C语言实现之单链表
#include #include //定义函数结果状态码 #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 //定义数据类型 typedef int ElemType ; //定义程序返回状态类型 typedef int State; //线性表的单链表存储结构 struct Node { ElemType da原创 2013-04-18 18:40:29 · 805 阅读 · 0 评论 -
数据结构C语言实现之循环队列
#include #include //定义函数结果状态码 #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 //定义循环队列空间大小 #define QUEUESIZE 20 //定义数据类型 typedef int ElemType ; //定义程序返回状态类型 typedef int State; //循环队列存原创 2013-04-20 15:01:23 · 8225 阅读 · 0 评论 -
数据结构C语言实现之顺序表
#include #include //宏定义顺序表的空间大小 #define LISTSIZE 20 //宏定义函数返回值 #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 //类型定义 typedef int ElemType; //函数返回状态类型定义 typedef int State; //声明顺序表类型结构体原创 2013-04-16 19:18:13 · 1048 阅读 · 0 评论 -
数据结构C语言实现之顺序栈
#include #include //定义函数结果状态码 #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 //宏定义栈的空间大小 #define STACKSIZE 20 //定义数据类型 typedef int ElemType ; //定义程序返回状态类型 typedef int State; //顺序栈存储结构原创 2013-04-19 15:39:00 · 653 阅读 · 0 评论 -
数据结构C语言实现之链队列
#include #include //定义函数结果状态码 #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 //定义数据类型 typedef int ElemType ; //定义程序返回状态类型 typedef int State; //链队列结点存储结构 typedef struct _QueueNode {原创 2013-04-20 16:32:17 · 1125 阅读 · 0 评论 -
数据结构C语言实现之链栈
#include #include //定义函数结果状态码 #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 //定义数据类型 typedef int ElemType ; //定义程序返回状态类型 typedef int State; //栈中结点的存储结构 typedef struct _StackNode {原创 2013-04-20 13:37:11 · 784 阅读 · 0 评论 -
数据结构C语言实现之串
#include #include #include //定义函数结果状态码 #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 //定义数据类型 //typedef int ElemType ; //定义顺序串空间大小,最多存放40个字符 #define STRINGSIZE 20 //定义程序返回状态类型 typ原创 2013-06-12 16:43:39 · 836 阅读 · 0 评论 -
数据结构C语言实现之二叉树链式结构
#include #include #include //定义函数结果状态码 #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 //定义数据类型 typedef char ElemType ; //定义程序返回状态类型 typedef int State; /* 用于构造二叉树*****************原创 2013-06-13 19:40:18 · 1004 阅读 · 0 评论