
数据结构
H_Strong
天地有大美而不言,万物有真理而不辩
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
逆波兰表达式求解 和 括号匹配问题
#pragma once #include<stdio.h> #include<stdlib.h> #include<assert.h> #include<stdlib.h> #define MAX 100 typedef char DataType; typedef s原创 2018-08-30 17:41:32 · 697 阅读 · 0 评论 -
队列及其基本操作
链式队列头文件 #pragma once #include<stdio.h> #include<assert.h> #include<stdlib.h> #define _CRT_SECURE_NO_WARNINGS 1 typedef int QDataType; typedef struct LinkList { struct LinkLis *n...原创 2018-08-30 17:44:16 · 291 阅读 · 0 评论 -
迷宫问题求解(1) 简单迷宫
头文件 //Stack.h #include<stdio.h> #include<stdlib.h> #include<assert.h> #include<stdlib.h> #include"Maze.h" #define MAX 100 typedef struct Position Da原创 2018-08-30 18:59:45 · 8903 阅读 · 0 评论 -
#复杂迷宫求解(2)
头文件 #pragma once #include <stdio.h> #include <string.h> #include <assert.h> #include <stdlib.h> #define ROW 6 #define COL 6 typedef struct Maze { int _map[ROW][原创 2018-08-30 20:48:22 · 441 阅读 · 0 评论 -
二叉树的基本操作
二叉树所需要的头文件 //binarytree.h #ifndef __binarytree_h__ #define __binarytree_h__ #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<stdlib.h> #include<assert.h> #include"Queue...原创 2018-08-29 22:19:58 · 301 阅读 · 1 评论 -
单链表的基本操作
单链表头文件 //SList #pragma once #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;assert.h&gt; #define _CRT_SECURE_NO_WARNINGS 1 typedef int DataType; typedef struct SListNode { Dat...原创 2018-08-29 23:40:50 · 306 阅读 · 0 评论 -
复杂链表的复制(C语言)
##什么是复杂链表? 展示一下复杂链表的结构体样式。 typedef struct ComplexNode { struct ComplexNode *next; struct ComplexNode *random; //指向一个随机值 int data; }ComplexNode; 复杂链表就是一个带着random指针的单链表。由于random指向的不确定性。让复杂链表的操作存在一定的...原创 2018-10-13 22:22:07 · 2742 阅读 · 0 评论