
数据结构
数据结构
路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 · 181 阅读 · 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 · 228 阅读 · 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 · 290 阅读 · 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 · 195 阅读 · 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 · 176 阅读 · 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 · 176 阅读 · 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 · 806 阅读 · 0 评论