搜索资源列表
-
0下载:
1.输入字符序列,建立二叉链表。
2.中序遍历二叉树:递归算法。
3.中序遍历二叉树:非递归算法。
4.求二叉树的高度。
5.求二叉树的叶子个数。
6.试编写交换以二叉链表作存储结构的二叉树中所有结点的左、右子树的算法。
7.建立中序线索二叉树,并实现中序遍历。
-1. Input sequence of characters, the establishment of binary list.
2. Inorder traversal binary tree:
-
-
0下载:
中序线索化二叉树并遍历,数据结构,清华大学版习题-Inorder threaded binary tree and traverse the data structure and Tsinghua University Edition Problem
-
-
0下载:
以二叉链表表示二叉树,实现二叉树先序遍历、中序遍历、后序遍历的递归算法;直接利用栈的基本操作,实现二叉树先序遍历的非递归算法。-Binary list, binary tree, Binary Tree, Inorder traversal, recursive algorithm after preorder direct use of the basic operation of the stack, the non-recursive algorithm Binary Tree.
-
-
0下载:
1、输入“扩展先序遍历序列” 创建二叉链表并中序遍历输出之
2、求树高
-1, enter " extended the first traversal sequence" create binary list inorder traversal output of 2, find a tree height
-
-
0下载:
以下问题要求统一在一个大程序里解决。
按先序遍历的扩展序列建立二叉树的存储结构
二叉树先序、中序、后序遍历的递归算法
二叉树中序遍历的非递归算法
二叉树层次遍历的非递归算法
求二叉树的深度(后序遍历)
建立树的存储结构
求树的深度-The following questions require a unified solution in a large program. Extension of the first-traversal sequence to esta
-
-
3下载:
设计了算法,将n个数据组成二叉排序树结构,并可以删除其中的一个结点。
输入:数据个数n、n个数据、需要删除的数值value。
输出:原始数据、二叉排序树的中序输出及删除结点value后的结果。-Designed the algorithm, the data consisting of n binary sort tree structure, and you can remove one node. Input: the number of data n, n data, you
-
-
0下载:
a.能够先序输入一颗二叉树。
b.能够实现对此二叉树进行 先序、中序、后序遍历;
c.统计树中叶子节点个数;
d.对二叉树进行 先序、中序、后序线索化;
e.对线索化后的树进行 先序、中序、后序遍历;
f.显示该树。
-a. could preorder enter a binary tree. b able to achieve this binary tree preorder, inorder, postorder . number of leaf nodes c
-
-
0下载:
能够对二叉树进行先序、中序和后序遍历,并能在极限值下运行-Can two binary tree preorder, inorder and postorder traversal, and can run in the ultimate value.
-