- 博客(16)
- 收藏
- 关注
原创 SpringBoot的测试
# 启用Spring Security保护Spring应用的第一步就是将Spring Boot security starter依赖添加到构建文件中。 <dependency> <groupId>
2022-11-03 17:30:49
396
原创 队列的链式存储结构与操作方法
#ifndef QUEUE_H_INCLUDED#define QUEUE_H_INCLUDEDtypedef int ElemType;typedef struct SingleNode{ ElemType data; //值域 struct SingleNode* next;//链接指针域}Node;typedef struct linkQueue{ Node* front; Node* rear;}Queue;/*************************
2021-04-02 18:33:43
109
原创 队列的顺序存储结构和操作实现
#ifndef QUEUE_H_INCLUDED#define QUEUE_H_INCLUDEDtypedef int ElemType;typedef struct SequQueue{ ElemType *queue; int front, rear; int MaxSize;}Queue;//队列 front指向的为空,即Q->queue[Q->fornt+1]才为队首元素,以便判别队列是否满与空/************************************
2021-03-31 22:35:58
162
原创 栈的链式存储和操作实现
#ifndef STACK_H_INCLUDED#define STACK_H_INCLUDEDtypedef int ElemType;typedef struct SingleNode{ ElemType data; struct SingleNode* next;}Stack;#endif #include <stdio.h>#include <stdlib.h>#include "Stack.h"/*************************
2021-03-27 18:43:11
135
原创 栈的顺序存储结构和操作实现
头文件Stack.h#ifndef STACK_H_INCLUDED#define STACK_H_INCLUDEDtypedef int ElemType;typedef struct SequStack{ ElemType* stack; int top; int MaxSize;}Stack;#endif栈在顺序存储下运算的算法.c`#include <stdio.h>#include <stdlib.h>#include "Stack.h"
2021-03-23 22:30:08
431
原创 线性表的链接存储结构和操作实现
参考数据结构(c语言描述)徐孝凯著头文件List.h#ifndef LIST_H_INCLUDED#define LIST_H_INCLUDEDtypedef int ElemType;typedef struct SingleNode{ ElemType data; struct SingleNode* next;}List;#endif 线性表在链接存储下运算的算法.c#include <stdio.h>#include <stdlib.h>#in
2021-03-23 10:01:09
256
原创 线性表的顺序存储结构和操作实现
自定义头文件头文件名:List.h#ifndef LIST_H_INCLUDED#define LIST_H_INCLUDEDtypedef int ElemType;typedef struct SequList //定义顺序储存线性表的结构类型 { ElemType* list; //只想动态数组空间的指针 int len; //保存线性表的当前长度 int MaxSize; //保存List数组的长度 }List; #endif.
2021-03-21 21:44:54
500
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人