文件名称:binarytree
介绍说明--下载内容均来自于网络,请自行研究使用
以二叉链表作为存储结构,定义二叉树类型 bitree ;
实现二叉树的以下运算:
建立 create( ) 输入二叉树的结点元素,建立二叉链表。
选择一种遍历方式(先序、中序、后序、层序)遍历这棵二叉树。
求二叉数的树深度。
-To list as a binary storage structure, the definition of binary tree type bitree realize the following binary tree computing: the establishment of create () input binary tree node elements, the establishment of binary list. Select a traversal method (first order, in sequence, after the sequence, sequence) Binary tree traversal. Binary number for the depth of the tree.
实现二叉树的以下运算:
建立 create( ) 输入二叉树的结点元素,建立二叉链表。
选择一种遍历方式(先序、中序、后序、层序)遍历这棵二叉树。
求二叉数的树深度。
-To list as a binary storage structure, the definition of binary tree type bitree realize the following binary tree computing: the establishment of create () input binary tree node elements, the establishment of binary list. Select a traversal method (first order, in sequence, after the sequence, sequence) Binary tree traversal. Binary number for the depth of the tree.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
binarytree
..........\BinaryTree.cpp
..........\BinaryTree.h
..........\BinaryTreeNode.h
..........\main.cpp
..........\BinaryTree.cpp
..........\BinaryTree.h
..........\BinaryTreeNode.h
..........\main.cpp