![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
ayangya
这个作者很懒,什么都没留下…
展开
-
C语言实现二叉树遍历
#include<stdio.h> #include<stdlib.h> typedef char datatype; typedef struct node { datatype data; struct node *lchild,*rchild; }bintnode; typedef bintnode * bintree; bintree root;bintree createt原创 2017-12-12 19:29:26 · 626 阅读 · 0 评论 -
串之顺序串算法
#include<stdio.h> #include<stdlib.h> #include<string.h> #define maxsize 100 typedef struct { char data[maxsize]; int length; }seqString;typedef struct { char ch; int count; }chh;//创建串的原创 2017-12-17 14:55:36 · 1325 阅读 · 0 评论 -
线性表之单链表算法
#include<stdio.h> #include<stdlib.h> typedef int datatype;typedef struct node { int data; struct node *next; }linklist;typedef linklist *linknode; //置空表 linknode init() { linknode head;原创 2017-12-17 13:00:05 · 319 阅读 · 0 评论