![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
梦梦笙笙
这个作者很懒,什么都没留下…
展开
-
数据结构学习笔记-03-线性表及其实现
线性表的顺序存储实现typedef struct LNode *list;struct LNode{ ElementType Data[MAXSIZE]; int Last;};struct LNode L;List Ptrl;初始化:List MakeEmpty(){ List PtrL; PtrL = (List )malloc(sizeof(struct LNo...原创 2018-12-23 10:13:07 · 117 阅读 · 0 评论 -
数据结构学习笔记-04-堆栈
堆栈顺序存储的实现typedef struct SNode *Stack;struct SNode{ ElementType Data[MaxSize]; int Top;};入栈void Push(Stack PtrS,Element Item)//入栈{ if(PtrS->Top==MaxSize-1) { printf("堆栈满");return; } ...原创 2018-12-23 11:58:54 · 157 阅读 · 0 评论