文件名称:BinaryTree
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2014-12-12
- 文件大小:
- 1.05mb
- 下载次数:
- 0次
- 提 供 者:
- 屈*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
数据结构 二叉树的建立和遍历
1.按前序次序建立一棵二叉树,以‘#’表示空。
2.中序、后序遍历该二叉树,输出遍历序列。
3.求出该二叉树的深度并输出,或求出该二叉树的叶子数目并输出。
4.试以栈为辅助存储结构实现二叉树的前序非递归算法或以队列为辅助存储结构实现二叉树的层次遍历算法。-Data structure, the establishment and traversal of binary tree
1. According to the sequence order before building a binary tree, expressed as a # .
2. The order, after order traversal of the binary tree, output traversal sequence.
3. The depth of the binary tree and the output, or calculate the number of binary tree leaves and output.
4. Takes the auxiliary storage structure of the stack to achieve binary tree non-recursive algorithm or in the preamble of the queue is auxiliary storage structure to achieve the level of the binary tree through calendar calculation method.
1.按前序次序建立一棵二叉树,以‘#’表示空。
2.中序、后序遍历该二叉树,输出遍历序列。
3.求出该二叉树的深度并输出,或求出该二叉树的叶子数目并输出。
4.试以栈为辅助存储结构实现二叉树的前序非递归算法或以队列为辅助存储结构实现二叉树的层次遍历算法。-Data structure, the establishment and traversal of binary tree
1. According to the sequence order before building a binary tree, expressed as a # .
2. The order, after order traversal of the binary tree, output traversal sequence.
3. The depth of the binary tree and the output, or calculate the number of binary tree leaves and output.
4. Takes the auxiliary storage structure of the stack to achieve binary tree non-recursive algorithm or in the preamble of the queue is auxiliary storage structure to achieve the level of the binary tree through calendar calculation method.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BinaryTree
..........\BinaryTree
..........\BinaryTree.ncb
..........\BinaryTree.sln
..........\BinaryTree.suo
..........\..........\BinaryTree.cpp
..........\..........\BinaryTree.vcproj
..........\..........\BinaryTree.vcproj.tianjiqx-PC.tianjiqx.user
..........\..........\Debug
..........\..........\.....\BAT0000141059638872.bat
..........\..........\.....\BinaryTree.exe.embed.manifest
..........\..........\.....\BinaryTree.exe.embed.manifest.res
..........\..........\.....\BinaryTree.exe.intermediate.manifest
..........\..........\.....\BinaryTree.obj
..........\..........\.....\BuildLog.htm
..........\..........\.....\mt.dep
..........\..........\.....\vc90.idb
..........\..........\.....\vc90.pdb
..........\Debug
..........\.....\BinaryTree.exe
..........\.....\BinaryTree.ilk
..........\.....\BinaryTree.pdb
..........\二叉树操作.doc