文件名称:InorderTraversal
介绍说明--下载内容均来自于网络,请自行研究使用
中序遍历的递归算法定义:
若二叉树非空,则依次执行如下操作:
(1)遍历左子树;
(2)访问根结点;
(3)遍历右子树。
-Traversal of the definition of the recursive algorithm: If the tree is not empty, then followed by the implementation of the following steps: (1) traverse the left subtree (2) visit the root node (3) traverse the right subtree.
若二叉树非空,则依次执行如下操作:
(1)遍历左子树;
(2)访问根结点;
(3)遍历右子树。
-Traversal of the definition of the recursive algorithm: If the tree is not empty, then followed by the implementation of the following steps: (1) traverse the left subtree (2) visit the root node (3) traverse the right subtree.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
二叉排序树的建立和中根遍历.cpp