![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
小虎是小蜗牛
小白在学习,记录技术成长
展开
-
数据结构的队列c语言代码实现
学习数据结构,整理一些相关程序,通过测试#include<stdio.h>#include<stdlib.h>#define QUEEN_SIZE 50typedef struct SeqQueue{ int data[QUEEN_SIZE]; int front; int rear;}Queue;Queue *initQueu...原创 2018-11-25 20:31:38 · 562 阅读 · 0 评论 -
数据结构栈的学习
数据结构栈的学习,记录下代码,供以后开发用#include <stdio.h>#include <stdlib.h>#include <malloc.h> // 定义一个节点的结构typedef struct node{ int member; //数据域 struct node * pNext;//...原创 2018-12-09 22:34:28 · 139 阅读 · 0 评论 -
数据结构树的学习
数据结构树的学习,编写代码,并测试,学习一下递归的思想#include <stdio.h>#include <stdlib.h>typedef int ElemType;//数据类型typedef int Status; typedef struct BiTNode{ ElemType data; struct BiTNode *lChild,*rCh...原创 2018-12-09 23:06:10 · 232 阅读 · 0 评论 -
插入排序和希尔排序算法学习
在以前的学习过程只学习过冒泡排序和快速排序。自己又通过在网络的学习,记录学习一下,插入排序和希尔排序插入排序,相关动图显示,可以帮助理解#include <stdio.h>#define MAXSIZE 15 //一个用作示例的小顺序表的最大长度#define LT(a,b) ((a)<(b)) #define LQ(a,b) ((a)&...原创 2018-12-16 21:45:44 · 1011 阅读 · 0 评论