![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言数据结构
文章平均质量分 77
svg onload=alert(1)
变成了全栈工程师
展开
-
二分插入排序与检索
#include #include #include #define num 50 typedef int keytype; typedef int datatype; typedef struct { keytype key; }dictelement; typedef struct { int n; dictelement *element;原创 2016-12-20 12:20:15 · 265 阅读 · 0 评论 -
二叉树的递归建立与应用
#include #include typedef char datatype; typedef struct bintreenode { datatype info; struct bintreenode *lchild; struct bintreenode *rchild; }bintreenode,*bintree; bintreenode *原创 2016-12-20 19:27:19 · 520 阅读 · 0 评论 -
循环链表实现队列
#include #include struct linklist { char info; linklist *link; }node; typedef struct linklist *pnode; struct linkqueue { pnode r; }; typedef struct linkqueue *plinkqueue; pl原创 2016-12-20 12:21:39 · 386 阅读 · 0 评论 -
用栈和队列实现回文判断
#include #include struct node; typedef struct node *pnode; struct node { char info; pnode link; }; struct linkstack { pnode top; }; typedef struct linkstack *plinkstack; plin原创 2016-12-20 12:24:57 · 9138 阅读 · 0 评论 -
有序链表的合并和删除
#include #include struct node; typedef int datatype; typedef struct node *pnode; struct node { datatype info; pnode link; }; typedef struct node *linklist; linklist createnulllist()原创 2016-12-20 12:26:09 · 514 阅读 · 0 评论