搜索资源列表
3adf
- 遍历是二叉树各种操作的基础,显示,遍历过程中可以对各结点进行各种操作,又实现各种的目的。-traverse binary tree is the basis for various operations, that the process can traverse the nodes of various operations, Also achieve various objectives.
源代码(vc++)
- 里面装有 5 个小程序,分别是:0-1背包问题、二叉树遍历、链式表的实现、迷宫路径、资源最优配置算法。每个程序都有详细的说明,是我这两个学期所做的实验的一部分。-containing five small programs, namely : 0-2-1 knapsack problem, the binary tree traversal and the chain table and that the realization of the maze path, the optimal res
JAVA闹钟
- 数据结构上机实验的一些源代码。包含哈弗曼编码译码器,二叉树的遍历,算术表达式求值,拓扑排序等。
哈工大软件基础实验报告
- 这个报告中包括哈工大计算机软件基础课3个上机实践的源代码,调试过程及实验结果截图。3个实践分别为顺序存储的线性表维护子系统的实现,二叉树的前序遍历程序的实现和二叉排序树维护子系统实现。
00517
- 二叉树的应用,包括建立,遍历,以及求深度等。-Have a try!
shujujiegou
- 实现对任意给定的二叉树(顶点数自定)建立它的二叉链表存贮结构,并利用栈的五种基本运算(置空栈、进栈、出栈、取栈顶元素、判栈空)实现二叉树的先序、中序、后序三种遍历,输出三种遍历的结果。-Any given realization of the binary tree (self-Vertices) the establishment of its chain store binary structure, and use the five basic computing stack (The s
binarytree
- 已知二叉树的任意两种遍历序列,可以得到树的第三种遍历序列。如已知先序和后序序列,输出中序序列。-Known binary tree traversal of any two sequences, can be the third tree traversal sequence. If known after the first sequence and the sequence sequence sequence sequence output.
dada
- 以递归方式按先序序列建立二叉树的二叉链表结构,再分别输出先序、中序、后序的遍历结果-Recursively by first-order sequence of the establishment of a binary tree binary linked list structure, each with output of the first sequence, in order, postorder traversal of the results of
BiTree
- 输入一个字符串,并建成一棵二叉树,满足左子树的字符都要小于根结点的字符,右字树的字符都要大于根结点的字符,每个结点值有字符和字符的出现次数,并用三种遍历方法打印,比较是否与自己想象的相一致。再求树的深度、叶子结点数、最大结点值。-Enter a string, and the completion of a binary tree, to meet the characters in the left subtree must be less than the root node of the
Cpp1
- 非递归中序遍历二叉树:要求从键盘输入二叉树各结点的值,并使用二叉链表来存储二叉树;使用非递归算法遍历二叉树,在屏幕上打印出二叉树中序遍历序列。-Non-recursive traversal of binary tree: the input binary tree node value from the keyboard and use the binary tree to store binary tree non-recursive algorithm for binary tree t
erchashu
- 非递归中序遍历二叉树:要求从键盘输入二叉树各结点的值,并使用二叉链表来存储二叉树;使用非递归算法遍历二叉树,在屏幕上打印出二叉树中序遍历序列。-Non-recursive traversal of binary tree: the input binary tree node value from the keyboard and use the binary tree to store binary tree non-recursive algorithm for binary tree t
binary-tree-traversal
- 程序功能:遍历二叉树,线索化二叉树,遍历线索化二叉树,二叉树去线索化-The program features: binary tree traversal, threaded binary tree traversal threaded binary tree, binary tree to clues
7.Binary-Search-Tree
- 二叉树收索,包括二叉树的遍历,收索,增加,删除等功能-Close binary search
binarytree
- 根据中后续遍历建立二叉树,并且输出其前序遍历-According to the subsequent establishment of a binary tree traversal, and the output of its preorder traversal
ExamCpp--
- 单链表,单循环链表,双链表,循环双链表的实现,二叉树的遍历与实现。森林与树的转换以及图的深度广度遍历,邻接矩阵邻接表实现-Single list, round robin list, double-linked list, circular double-linked list implementation, and implementation of a binary tree traversal. Forest conversion, and the depth and breadth of
树与二叉树
- 实验内容1按照先序序列构造一棵以二叉链表表示的二叉树T,然后进行非递归中序遍历,递归后续遍历和层序遍历。
DoubleLinkedList
- java的二叉树写法,基本思路为,二叉树的遍历-a base java project
数据结构上机实验——二叉树
- 根据二叉树的抽象数据类型的定义,使用二叉链表实现一个二叉树。 二叉树的基本功能: 1、二叉树的建立 2、前序遍历二叉树 3、中序遍历二叉树 4、后序遍历二叉树 5、按层序遍历二叉树 6、求二叉树的深度 7、求指定结点到根的路径 8、二叉树的销毁 9、其他:自定义操作 编写测试main()函数测试线性表的正确性
数据结构
- 学习数据结构一个比较基础的代码,实现遍历二叉树,插入合并操作。(Learn a relatively basic code of the data structure to traverse the two forked tree and insert the merge operation.)
tree3
- 集成了二叉树的基本需求,内含二叉树的循环链表实现的非递归层次遍历和运用链表求树的宽度。(It integrates the basic requirement of two branch tree, which includes the recursive link list implemented by two binary tree, and the width of tree is calculated by linked list.)