数据结构
贝极星Kira
这个作者很懒,什么都没留下…
展开
-
C语言 数据结构 栈的线性实现 基本操作代码
C语言 数据结构 栈的线性实现 基本操作代码原创 2022-06-13 18:49:49 · 157 阅读 · 0 评论 -
C语言 数据结构 线性循环队列 基本操作代码
//// Created by Polaris on 2022/4/27.//#include <stdio.h>#include <stdlib.h>#define DataType int#define MAXSIZE 100/* * 线性循环队列定义 */typedef struct { DataType *data; int front; int rear; int size;}LinearCircularQueue原创 2022-04-27 14:42:30 · 1615 阅读 · 1 评论 -
C语言 数据结构 链表 基本操作代码
#include <stdio.h>#include <stdlib.h>#define DataType int/* * LinkedList */typedef struct node { DataType data; struct node* next;}LinkList;void initList(LinkList *list) { if (list != NULL) { list = (LinkList*) m原创 2022-04-26 14:42:00 · 2278 阅读 · 0 评论