![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C
_茂茂
就读于百年老校,哈哈哈
展开
-
线性表的链式表示和实现
线性表的链式存储结构,不要求逻辑上相邻的元素在物理上也相邻,因此它没有顺序存储结构所具有的弱点,但同时也失去了顺序表可随机存储的优点; #include "stdio.h" #include "malloc.h" #define OK 1 #define ERROR 0 typedef struct LNode{ int data; struct LNode *ne...原创 2018-03-20 14:37:59 · 282 阅读 · 0 评论 -
线性表的顺序表示和实现
线性表的顺序表示是指用一组地址连续的存储单元依次存储线性表的数据元素 #include "stdio.h" #include <malloc.h> #define LIST_INIT_SIZE 100 #define LISTINCREMENT 10 #define OK 1 #define ERROR 0 typedef struct { int *elem...原创 2018-03-20 15:01:03 · 232 阅读 · 0 评论