文件名称:BinaryTree
-
所属分类:
- 标签属性:
- 上传时间: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/
BinaryTree/BinaryTree.ncb
BinaryTree/BinaryTree.sln
BinaryTree/BinaryTree.suo
BinaryTree/BinaryTree/BinaryTree.cpp
BinaryTree/BinaryTree/BinaryTree.vcproj
BinaryTree/BinaryTree/BinaryTree.vcproj.tianjiqx-PC.tianjiqx.user
BinaryTree/BinaryTree/Debug/
BinaryTree/BinaryTree/Debug/BAT0000141059638872.bat
BinaryTree/BinaryTree/Debug/BinaryTree.exe.embed.manifest
BinaryTree/BinaryTree/Debug/BinaryTree.exe.embed.manifest.res
BinaryTree/BinaryTree/Debug/BinaryTree.exe.intermediate.manifest
BinaryTree/BinaryTree/Debug/BinaryTree.obj
BinaryTree/BinaryTree/Debug/BuildLog.htm
BinaryTree/BinaryTree/Debug/mt.dep
BinaryTree/BinaryTree/Debug/vc90.idb
BinaryTree/BinaryTree/Debug/vc90.pdb
BinaryTree/Debug/
BinaryTree/Debug/BinaryTree.exe
BinaryTree/Debug/BinaryTree.ilk
BinaryTree/Debug/BinaryTree.pdb
BinaryTree/二叉树操作.doc
BinaryTree/BinaryTree/
BinaryTree/BinaryTree.ncb
BinaryTree/BinaryTree.sln
BinaryTree/BinaryTree.suo
BinaryTree/BinaryTree/BinaryTree.cpp
BinaryTree/BinaryTree/BinaryTree.vcproj
BinaryTree/BinaryTree/BinaryTree.vcproj.tianjiqx-PC.tianjiqx.user
BinaryTree/BinaryTree/Debug/
BinaryTree/BinaryTree/Debug/BAT0000141059638872.bat
BinaryTree/BinaryTree/Debug/BinaryTree.exe.embed.manifest
BinaryTree/BinaryTree/Debug/BinaryTree.exe.embed.manifest.res
BinaryTree/BinaryTree/Debug/BinaryTree.exe.intermediate.manifest
BinaryTree/BinaryTree/Debug/BinaryTree.obj
BinaryTree/BinaryTree/Debug/BuildLog.htm
BinaryTree/BinaryTree/Debug/mt.dep
BinaryTree/BinaryTree/Debug/vc90.idb
BinaryTree/BinaryTree/Debug/vc90.pdb
BinaryTree/Debug/
BinaryTree/Debug/BinaryTree.exe
BinaryTree/Debug/BinaryTree.ilk
BinaryTree/Debug/BinaryTree.pdb
BinaryTree/二叉树操作.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.