文件名称:exp7-1
介绍说明--下载内容均来自于网络,请自行研究使用
实现二叉树b的各种运算:
1. 输出二叉树;
2. 输出 H 结点的左·右孩子结点值;
3. 输出二叉树b的深度;
4. 输出二叉树b的宽度;
5. 输出二叉树b的结点个数;
6. 输出二叉树b的叶子结点个数。-Binary Tree b to achieve a variety of computing: 1. Output tree 2. Output the children of node H child nodes around node value 3. Output binary tree of depth b 4. Output tree width b 5. output node of binary tree the number of b 6. output binary tree node b the number of leaves.
1. 输出二叉树;
2. 输出 H 结点的左·右孩子结点值;
3. 输出二叉树b的深度;
4. 输出二叉树b的宽度;
5. 输出二叉树b的结点个数;
6. 输出二叉树b的叶子结点个数。-Binary Tree b to achieve a variety of computing: 1. Output tree 2. Output the children of node H child nodes around node value 3. Output binary tree of depth b 4. Output tree width b 5. output node of binary tree the number of b 6. output binary tree node b the number of leaves.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
exp7-1.cpp