文件名称:tree
-
所属分类:
- 标签属性:
- 上传时间:2015-10-25
-
文件大小:13.77kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
二叉树是n(n>=0)个结点的有限集合,它或为空树,或是由一个称之为根的结点加上两棵分别称为左子树和右子树的互不相交的二叉树组成。
对二叉树的操作主要有:建立一棵二叉树;遍历二叉树;求二叉树的深度、结点数等。
1. 定义二叉链表类型;
2. 实现二叉树的基本操作:建立、先中后序遍历、层次遍历及输出。
-Binary Tree is n (n> = 0) a finite set of nodes, it is empty or tree, or the root node, plus a so-called two trees are called the left subtree and right subtree are not mutually intersection of binary components. For binary operations are: the establishment of a binary tree the binary tree traversal binary tree of depth, and other nodes. 1. Define the type of binary list 2. To achieve binary tree basic operations: establishment, after the first traversal, traverse the level and output.
对二叉树的操作主要有:建立一棵二叉树;遍历二叉树;求二叉树的深度、结点数等。
1. 定义二叉链表类型;
2. 实现二叉树的基本操作:建立、先中后序遍历、层次遍历及输出。
-Binary Tree is n (n> = 0) a finite set of nodes, it is empty or tree, or the root node, plus a so-called two trees are called the left subtree and right subtree are not mutually intersection of binary components. For binary operations are: the establishment of a binary tree the binary tree traversal binary tree of depth, and other nodes. 1. Define the type of binary list 2. To achieve binary tree basic operations: establishment, after the first traversal, traverse the level and output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tree/
tree/二叉树.cpp
tree/二叉树.doc
tree/二叉树.cpp
tree/二叉树.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.