![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
MrLeaper
这个作者很懒,什么都没留下…
展开
-
二叉树和哈夫曼树
二叉树:#include #include #include #include #include #include #include using namespace std;templatestruct BTNode{ T element; BTNode *lChild,*rChild,*parent; char value; int v原创 2017-05-11 22:54:38 · 396 阅读 · 0 评论 -
最小飞机换乘(Dijkstra)
#include#include#include#include#include#include#include using namespace std;int INF=9999999;templateclass MGraph{public: MGraph(int mSize); ~MGraph(); bool Insert(int u,int原创 2017-05-26 21:03:04 · 574 阅读 · 1 评论 -
图的基本操作(遍历,寻找最短路径,最小生成树)
#include#include#include#include#include#include#include using namespace std;int INF=9999999;templateclass MGraph{public: MGraph(int mSize); ~MGraph(); bool Insert(int u,int原创 2017-05-23 15:17:23 · 556 阅读 · 0 评论