搜索资源列表
二叉树1212
- 建立二叉树,层序、先序遍历( 用递归或非递归的方法都可以-establish binary tree, sequence, the preorder (with the recursive and non - recursive method can be
递归中序遍历排序二叉树
- 这是一个中序遍历二叉树的VC实现,要注意的是输入节点后,以-1结束-which is a binary tree traversal sequence VC, to pay attention to the input nodes, in the end -1
遍历二叉树的4个非递归算法
- 二叉树的4个非递归算法,中序先序后序和层次遍历,算法都有注释而且很详细,适合数据结构学习者使用-binary tree four non - recursive algorithm, the first sequence after sequence and the sequence level traversal algorithm Notes but have very detailed data structure suitable for use Learners
各种二叉树的数据结构
- 按先序扩展序列建立二叉树,先序、中序、后序遍历的递归算法,二叉树遍历的非递归算法,层次的非递归算法,求二叉树的深度。-sequence extended by the first sequence established binary tree, first sequence, sequence, after the preorder the recursive algorithm, the binary tree traversal non - recursive algorithm, the
二叉树jian
- 这个程序采用先序建立二叉树,并分别使用递归和非递归算法实现了对该二叉树的先中后序的遍历输出,并给出了一定的使用说明-this procedure was used in order to establish a binary tree respectively, and the use of recursive and non - recursive algorithm of this binary tree after the first sequence which Ergodic outp
后序遍历的非递归算法
- 二叉树后序遍历的非递归算法-binary tree traversal sequence of non - recursive algorithm
中序遍历的非递归算法
- 二叉树中序遍历的非递归算法-Binary preorder non - recursive algorithm
先序非递归遍历
- 用非递归的方法先序遍历二叉树-non - recursive method preorder Binary Tree
shujishudeyingyong
- 1、二叉树数据结构表示及基本操作算法实现 2.二叉树递归遍历算法 3.二叉树创建递归算法
线索化二叉树遍历算法
- 本程序的主要功能在于先序输入一个二叉树,用三种递归,三种非递归进行遍历,并进行中序线索化以及其遍历,后进行中序去线索化,再进行后序线索化以及其遍历,最后后序去线索花进行中序遍历.程序的基本目的是了解二叉树的基本操作.
BinTreeExp
- 二叉树的创建、前序递归遍历、中序递归遍历、后序递归遍历、层次遍历、前序非递归遍历、中序非递归遍历、后序非递归遍历算法。里面包含了顺序栈和队列的实现代码。-Binary tree creation, pre-order recursive traversal, recursive in order traversal, postorder recursive traversal, traverse the level, pre-order traversal non-recursive, in t
Binarytreerecursiveltraversing
- 二叉树递归遍历 这是我们学校课程设计的一部分。能运行。-Recursive Binary Tree Traversal This is part of the design of the school curriculum. Will be able to run.
5.6.1
- 1、二叉树的创建和遍历演示 1)从键盘输入二叉树的各结点值,按先序递归方式创建二叉树 2)分别实现先序、中序、后序递归遍历二叉树 3)输出二叉树的按层次遍历序列 4)输出二叉树的中序非递归遍历下的结点访问次序-1, binary tree traversal of the creation and demonstration of 1) from the keyboard input of the binary tree node value, according to firs
BinaryTree
- 二叉树代码,可以实现二叉树的建立和二叉树递归遍历。-Binary code, can achieve the establishment and binary recursive binary tree traversal.
shuyuerchashu
- (1)输入字符序列,建立二叉链表。 (2)先序,中序,后序遍历二叉树:递归算法。 (3)中序遍历二叉树:非递归算法(最好也能实现先序,后序非递归算法)。 (4)求二叉树的高度 。 (5)求二叉树的叶子个数。 (6)对于树中每一个元素值为x的结点,删去以它为根的子树,并释放相应的空间。 (7)借助队列实现二叉树的层次遍历。 -shu yu er cha shu
bianli
- 二叉树的遍历,先序建立二叉树结构,包括前序、中序、后序遍历的递归和非递归遍历,求二叉树的深度。-Binary tree traversal, binary tree structure, the establishment of the first order, including the former order, in order, after traversing the recursive and non recursive traversal, find the depth of a
btree
- (1)二叉树的创建操作; (2)二叉树的销毁操作; (3)二叉树的先序遍历的递归算法; (4)二叉树的中序遍历的递归算法; (5)二叉树的后序遍历的递归算法; (6)二叉树的先序遍历的非递归算法; (7)二叉树的中序遍历的非递归算法; (8)二叉树的后序遍历的非递归算法; (9)二叉树的层次遍历算法; -(1) the creation of binary operations (2) the destruction of binary
biTree
- ? 按先序遍历的扩展序列建立二叉树的二叉链表存储结构,实现二叉树先序、中序、后序遍历的递归算法,实现二叉树中序遍历的非递归算法,实现二叉树层次遍历的非递归算法(要求使用顺序队列,调用顺序队列基本操作实现),求二叉树的深度(后序遍历)。(Two binary linked list storage structure - first traversal of the extended sequence according to the establishment of the two fork t
BinaryTree
- 数据结构中二叉树的基础操作 掌握二叉树的链式存储结构及其相关操作的实现 掌握二叉树的先序、中序、后序的递归遍历算法 掌握二叉树的层次遍历非递归算法(Basic operation of two fork tree in data structure)
binary tree
- 二叉树的创建和非递归遍历,包括先序遍历,中序遍历,后序遍历(the creation and non-recursive traversal of binary tree)