文件名称:BST
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 942kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
代码实现了二叉树基本操作:实现二叉树的基本操作(包括前序、中序、后序遍历);从键盘读数,利用前面实现的基本操作,生成一棵二叉查找树;通过遍历二叉树,输出该二叉树的叶节点数;通过遍历二叉树,求二叉树的最大高度;利用队列,按层次输出二叉树各结点。
-Code to achieve the basic operation of the binary tree: binary tree to achieve the basic operations (including pre-order, in sequence, after the traversal) readings from the keyboard to use in front of the realization of the basic operation to generate a binary search tree through binary tree traversal, the output of the binary tree leaf nodes through the binary tree traversal, and the maximum tree height use of queues, according to the level of output of the binary tree nodes.
-Code to achieve the basic operation of the binary tree: binary tree to achieve the basic operations (including pre-order, in sequence, after the traversal) readings from the keyboard to use in front of the realization of the basic operation to generate a binary search tree through binary tree traversal, the output of the binary tree leaf nodes through the binary tree traversal, and the maximum tree height use of queues, according to the level of output of the binary tree nodes.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BST
...\BST.cpp
...\BST.dsp
...\BST.dsw
...\BST.h
...\BST.ncb
...\BST.opt
...\BST.plg
...\Debug
...\test.cpp
...\BST.cpp
...\BST.dsp
...\BST.dsw
...\BST.h
...\BST.ncb
...\BST.opt
...\BST.plg
...\Debug
...\test.cpp