数据结构
tianjun2012
这个作者很懒,什么都没留下…
展开
-
c++二叉树的非递归建立和遍历
#include #include using namespace std; template struct BiTreeNode { T data; BiTreeNode *Lchild, *Rchild; BiTreeNode() :Lchild(NULL), Rchild(NULL){} BiTreeNode(const T& d, BiTreeNode *lchild =原创 2014-09-04 20:37:08 · 1038 阅读 · 2 评论 -
c++ 堆与堆排序
我看了好些 书,国内的,大部分都涵涵原创 2014-09-10 09:47:27 · 697 阅读 · 0 评论