![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 59
HUNNY THE ONE
这个作者很懒,什么都没留下…
展开
-
二叉树中序遍历非递归算法C语言实现
//// Inordertraverse.c// 二叉树链式存储//// Created by 丘** on 2021/7/28.//#include "Inordertraverse.h"#include <stdbool.h>#include<stdlib.h>typedef struct StackNode{ int data; struct StackNode* next; ...原创 2021-07-28 20:33:43 · 1085 阅读 · 1 评论 -
数据结构二叉树遍历递归C语言实现
// inordertraverase.c// 二叉树链式存储//// Created by 丘**on 2021/7/28.//#include "inordertraverase.h"#include<stdlib.h>#include <stdio.h>typedef struct BiTNode{ int data; struct BiTNode* lchild,* rchild; }...原创 2021-07-28 16:03:42 · 78 阅读 · 0 评论 -
数据结构c语言链表实现
/// main.c// 链表//// Created by 丘** on 2021/7/25.//#include <stdio.h>#include <stdlib.h>typedef struct LNode{ int data; struct LNode* next; }LNode,* LinkList;void CreatList_H(LinkList L,int n)//前插法创建...原创 2021-07-27 20:18:50 · 89 阅读 · 0 评论 -
顺序队列c语言实现
// main.c// 顺序队//// Created by 丘** on 2021/7/26.//#include <stdio.h>#include <stdlib.h>#define maxsize 100typedef struct{ int a[maxsize]; int front; int rear; }sqQueue;void InitQueue(sqQueue*...原创 2021-07-26 17:40:09 · 124 阅读 · 0 评论 -
数据结构顺序表的c语言实现
// main.c// 顺序表实现//// Created by 丘** on 2021/7/22.//#include <stdio.h>#include <stdlib.h>typedef struct{ int length; int a[100]; }SqList;void InitList(SqList*p)//初始化{ for(int i=0;i<5...原创 2021-07-25 13:32:26 · 125 阅读 · 0 评论 -
数据结构链栈c语言实现
//// main.c// Link stack//// Created by 丘** on 2021/7/22.//链栈实现 by c#include <stdio.h>#include <stdlib.h>typedef struct StackNode{ int data; struct StackNode* next; }StackNode;StackNode* push(StackNod...原创 2021-07-22 20:09:13 · 201 阅读 · 0 评论 -
数据结构c语言顺序栈的实现
#include <stdio.h>#include<stdlib.h>typedef struct{ int base; int top; int stacksize; }sqstack;int a[100];void push(sqstack*p)//入栈{ if(p->top==100) return; int e; printf(...原创 2021-07-22 16:35:50 · 115 阅读 · 0 评论