搜索资源列表
-
0下载:
(1)根据给定二叉树的先序遍历和中序遍历结果,构造出该二叉树;
(2)给出该二叉树的后序遍历结果;
(3)判定该二叉树是否为平衡二叉树;
-(1) According to the given binary tree preorder traversal and inorder traversal a result, constructed out of the binary tree (2) given in the post-order traversal of the bin
-
-
0下载:
二叉树的前序,中序,后序,遍历等一系列操作-Binary tree preorder, inorder, postorder, traversing a series of operations
-
-
0下载:
实现二叉树的基本功能,包括前序遍历,中序遍历,后序遍历,层次遍历-To achieve the basic functions of a binary tree, including the pre-order traversal, inorder traversal, postorder, level traversal
-
-
0下载:
设二叉树的结点的数据场之值仅为一大写英文字母。其前序和中序的遍历结果(打印结点的数据场之值)分别保存在字符串数组 preorder[N] 及 inorder[N]之中,其中 N 为常数。请设计程序以标准形式存储保存该二叉树。-Based binary tree node data field of the value is only a capital letter. The pre-order traversal order and the results (the data field t
-
-
0下载:
编写二叉树的基本操作函数,用递归方法分别实现先序,中序和后序遍历二叉树。-The preparation of the basic operating functions of the binary tree, recursive preorder, inorder, and postorder traversing a binary tree.
-
-
0下载:
二叉树的先序,中序,后序,层序的递归,非递归遍历-Binary tree preorder, inorder, postorder, the sequence of recursive, non-recursive traversal
-
-
0下载:
包括二叉树的前序、中序、后序递归非递归遍历;以及线索二叉树的前序、中序、后序递归非递归实现。-Include binary tree preorder, inorder, postorder recursive non-recursive traversal threaded binary preorder, inorder, postorder recursive non-recursive implementation.
-
-
0下载:
此程序可用于演示二叉树的前序、中序和后序遍历。-This program can be used to demonstrate the binary tree preorder, inorder, and postorder traversal.
-
-
0下载:
(1)输入字符序列,建立二叉链表。
(2)中序遍历二叉树:递归算法。
(3)中序遍历二叉树:非递归算法。(最好也能实现先序,后序非递归算法)
(4)求二叉树的高度 。
(5)求二叉树的叶子个数。
(6)建立中序线索二叉树,并实现中序遍历。
(8)借助队列实现二叉树的层次遍历。
(9)在主函数中设计一个简单的菜单,分别调试上述算法。-(1) Enter the character sequence of binary list. (2) in traversing
-
-
0下载:
先序扩展序列建立二叉树,二叉树的先序,中序,后序遍历的递归与非递归算法,层序遍历,以及求树的深度.-First order expansion preorder, inorder, postorder traversal sequence to establish binary tree, binary tree recursive and non-recursive algorithm, the depth of the layer preorder traversal, as well as
-
-
0下载:
C语言动态实现二叉树的先序、中序和后序遍历。TC2.0-C language dynamic binary tree first preorder, inorder, and postorder traversal. TC2.0
-
-
0下载:
先序创建二叉树,非递归算法遍历二叉树,输出先序、中序和后序序列。-First order to create a binary tree, binary tree traversal non-recursive algorithm, the output first sequence, inorder and postorder sequence.
-
-
0下载:
基于二叉链表,实现二叉树的下列运算。
①二叉树生成;
② 前序、中序和后序遍历;
③ 计算叶子数目;
④ 按层次遍历;
⑤ 求二叉树高度;
②、③和⑤运算分别采用递归和非递归算法实现
需先按前序序列创建结点-Based on the binary tree, binary tree of the following operators. ① binary generation ② preorder, inorder and postorder traversal
-
-
0下载:
1. 请中序线索化一棵二叉树。
2. 写出先序、中序、后序遍历一棵中序线索二叉树的算法。
3. 请实现后序线索化一棵二叉树。
4. 编写测试程序。
-1 Please inorder threaded a binary tree.
(2) write first order, in sequence, after traversing a binary tree algorithm in order clues.
3.Please clues to achieve a p
-
-
0下载:
显示输出二叉树,按照先序、中序、后续的方式线索化二叉树,返回中序遍历左子树最后一个结点-print out the binary tree,inorder threaded the binary tree
-
-
0下载:
二叉链表遍历,可以使用递归和非递归方法实现二叉树的前序,中序和后续遍历,以及层序遍历-Binary tree traversal, you can use recursive and non-recursive method to achieve binary tree preorder, inorder traversal and follow-up, as well as layer preorder
-
-
0下载:
一个二叉线索树的程序,包括树前序,中序,后序的方法-A binary tree trail procedures, including tree preorder, inorder, postorder methods
-
-
0下载:
完整二叉树类的实现(包含测试文件)功能涵盖建树、删除左右子树、归并两棵树、二叉树的前序、中序、后序及层次遍历-Complete binary tree class implementation (including test files) function covers achievements, left sub-tree delete, merge two trees, binary tree preorder, inorder, and postorder traversal level
-
-
0下载:
创建二叉树,先序、中序、后序遍历二叉树的递归及非递归,和按层次便利二叉树的实现-Create a binary tree, preorder, inorder, postorder recursive and non-recursive binary tree, and at different levels to achieve a convenient binary tree
-
-
0下载:
简单的二叉树遍历,先按先序输进二叉树元素。就可以得到递归先序,中序,后序遍历输出二叉树中的元素-Simple binary tree traversal, press first order input binary elements. You can get a recursive preorder, inorder, preorder output binary tree after the elements
-