![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
丶拾慌
没有简述
展开
-
邻接矩阵存储结构,深度,广度遍历。
图的基本操作(基于邻接矩阵):图的创建,深搜(DFS),广搜(BFS)原创 2015-12-31 18:40:37 · 645 阅读 · 0 评论 -
二叉树的创建,先序遍历,中序遍历,后序遍历
#include #include #define OK 1 #define ERROR 0 typedef char TElemType; typedef struct BiTNode{ TElemType data; struct BiTNode *lchild, *rchild; }BiTNode, *BiTree; void CreateBiTree(BiTree &T){ TEle原创 2016-01-01 13:35:39 · 1075 阅读 · 0 评论 -
有向图遍历,十字链表存储,深度遍历,广度遍历。
有向图遍历,十字链表存储,深度遍历,广度遍历。原创 2015-12-31 18:50:09 · 2398 阅读 · 0 评论 -
使用栈实现括号匹配
使用栈实现括号匹配原创 2015-12-31 19:15:34 · 684 阅读 · 0 评论 -
哈夫曼树编码转换
哈夫曼树编码转换原创 2015-12-31 19:10:49 · 2030 阅读 · 0 评论 -
一元稀疏多项式加减
一元稀疏多项式加减原创 2016-01-01 13:39:08 · 3027 阅读 · 0 评论 -
顺序表的合并
#include #include #define MAXSIZE 20 #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 typedef int Status; typedef int ElemType; struct SqList{ ElemType *elem; int length; int maxsize;原创 2015-12-31 19:03:31 · 523 阅读 · 0 评论