![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
数据结构
路Louis
这个作者很懒,什么都没留下…
展开
-
数据结构链队列
//LinkQueue.h #include <stdio.h> #include <stdlib.h> #include <assert.h> typedef int Datatype; typedef struct LinkQueueNode { Datatype data; struct LinkQueueNode* next; }LQN; typedef struct LinkQueue { LQN* front; LQN* rear; }LQ; .原创 2021-12-25 22:40:36 · 148 阅读 · 0 评论 -
数据结构顺序队列
//SeqQueue.h #include <stdio.h> #include <stdlib.h> #include <assert.h> typedef int Datatype; typedef struct SeqQueue { Datatype* data; int front; int rear; int capacity; }SQ; void SeqqueueInit(SQ* ps); void SeqqueueDestory(SQ* ps);.原创 2021-12-25 22:37:08 · 183 阅读 · 0 评论 -
数据结构链栈
//LinkStack.h #include <stdio.h> #include <stdlib.h> #include <assert.h> typedef int Datatype; typedef struct LinkstackNode { Datatype data; struct LinkstackNode* next; }LN; void LinkstackInit(LN** pphead); void LinkstackDestory(LN* p.原创 2021-12-25 22:33:57 · 265 阅读 · 0 评论 -
数据结构顺序栈
//SeqStack.h #include <stdio.h> #include <stdlib.h> #include <assert.h> typedef int Datatype; typedef struct SeqStack { Datatype* base; Datatype* top; int capacity; }SS; void SeqStackInit(SS* ps); void SeqStackDestory(SS* ps); void.原创 2021-12-25 22:15:54 · 169 阅读 · 0 评论 -
数据结构双向循环链表
//DLlist.h #pragma once #include <stdio.h> #include <stdlib.h> #include <assert.h> typedef int Datatype; typedef struct DLlistNode { struct DLlistNode* next; struct DLlistNode* prev; Datatype data; }DN; void DLlistInit(DN**phead); v.原创 2021-12-13 15:31:50 · 152 阅读 · 0 评论 -
数据结构链表
//LinkList.h #pragma once #include <stdio.h> #include <stdlib.h> #include <assert.h> typedef int Datatype; typedef struct LinkListNode { Datatype data; struct LinkListNode* next; }LN; void LinkListInit(LN** pphead); void LinkListPri.原创 2021-12-13 15:26:15 · 152 阅读 · 0 评论 -
数据结构顺序表
//SeqList.h #pragma once #include <stdio.h> #include <stdlib.h> #include <assert.h> typedef int Datatype; typedef struct SeqList { //datetype a[N]; Datatype* data; int size; int capacity; }SL; void SeqlistInit(SL* ps); void Seqlis.原创 2021-12-13 15:15:40 · 780 阅读 · 0 评论