1. 首页
  2. 编程语言
  3. Delphi
  4. 二叉树的遍历操作

二叉树的遍历操作

上传者: 2018-12-25 20:16:27上传 ZIP文件 20.82MB 热度 36次
class BSTTree {public: //构造函数 BSTTree(); //析构函数 ~BSTTree(); //打印操作 void Print(const unsigned int &module;); //打印节点信息 void PrintNode(Node *p); //前序遍历 void PreorderPrint(Node *p); //中序遍历 void InorderPrint(Node *p); //广度优先遍历 void BFSPrint(Node *p); //深度优先遍历 void DFSPrint(Node *p); //插
下载地址
用户评论