搜索资源列表
LastOrderTree
- 创建二叉树,并实现二叉树前序、中序递归遍历算法和二叉树的后序非递归遍历-create binary tree, and to achieve binary tree before the sequence, sequence recursive traversal of a binary tree algorithm and after non - recursive traversal sequence
datastructure
- 数据结构二叉树实验报告,包括 (1)创建二叉树 (2)递归算法先序遍历二叉树 (3)非递归算法中序遍历二叉树 (4)递归算法后序遍历二叉树 (5)求二叉树叶子结点个数 (6)按层次遍历二叉树 (7)求二叉树树深 -A binary tree data structure, experimental report, including (1) Create a binary tree (2) recursive algorithm for preorder trav
structure
- 数据结构二叉树实现代码:功能如下: (1)创建二叉树 (2)递归算法先序遍历二叉树 (3)非递归算法中序遍历二叉树 (4)递归算法后序遍历二叉树 (5)求二叉树叶子结点个数 (6)按层次遍历二叉树 (7)求二叉树树深 -A binary tree data structure to achieve the code: Function is as follows: (1) Create a binary tree (2) recursive alg
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
datastructure
- 非递归创建二叉树.并且用非递归算法实现对二叉树的前序、中序、后序和广度遍历。 实现语言:C-Create a binary tree non-recursive. And the use of non-recursive algorithm for binary tree of the former order, in sequence, after the traversal sequence and breadth. Implementation language: C
binarysorttree
- 创建一棵二叉排序树,并以括号表示法输出,然后判断它是否为一棵二叉排序树;采用递归和非递归两种方法查找关键字,删除关键字-Create a binary sort tree, and brackets indicate that the output method, and then judge whether it is for a binary sort tree the use of recursive and non-recursive two ways to find keywords
DataStruct
- 此文件夹中共包括十二个小程序 AVL创建平衡二叉树,通过加入一个个的结点创建,并实现了平衡二叉树中的结点删除 Boyer_Moore算法的串模式匹配 Horspool算法的串模式匹配 Graph实现了有向图的非递归广度优先遍历及非递归深度优先遍历 HeapSort利用堆排序实现优先级队列 Merge实现二路归并排序算法 MFK动态规划解背包问题 nqueue求解n皇后问题 QuickSort快速排序算法的实现。 Shell排序算法的实现。 Tree程序
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
BiTreeOrder
- 通过C++编写创建二叉树的代码,及实现二叉树的递归和非递归的先序、中序及后序遍历,和层次遍历。-The creation of a binary tree, recursive and non recursive traversal
binarytree
- 用visual c++语言实现后序非递归创建二叉树功能-With visual c++ language to create a binary tree after the sequence of non-recursive functions
btree
- (1)二叉树的创建操作; (2)二叉树的销毁操作; (3)二叉树的先序遍历的递归算法; (4)二叉树的中序遍历的递归算法; (5)二叉树的后序遍历的递归算法; (6)二叉树的先序遍历的非递归算法; (7)二叉树的中序遍历的非递归算法; (8)二叉树的后序遍历的非递归算法; (9)二叉树的层次遍历算法; -(1) the creation of binary operations (2) the destruction of binary
TestTree
- 数据结构实验。创建、保存、读取二叉树。且实现了二叉树的递归遍历,非递归遍历,递归求度为0、1、2节点数,非递归求度为0、1、2节点数,按层次遍历,求二叉树深度,判断是否完全二叉树,交换左右子树等功能……附带文件操作-Experimental data structure. Create, save, reading binary tree. And to achieve a binary tree of recursive traversal non-recursive traversal, r
BTree
- 二叉树的递归以及非递归创建,遍历,遍历包括前序.中序.后序.....,在其非递归创建和遍历时又分别利用了栈和队列等一系列方法进行-Recursive binary tree non-recursive traversal, as well as create, including the former sequence traversal sequence after sequence. .....
binarytree
- C++写的二叉树链表,创建二叉树使用非递归的方法,计算个位数的。-The C++ to write the binary tree linked list, create a binary tree using a non-recursive method to calculate the single digits.
lab4_2
- 2-1以顺序栈作为存储结构 实现顺序栈的入栈运算,出栈运算,并且读取栈顶元素; 2-2以链栈作为存储结构,实现栈上的数据元素的插入运算,删除运算,并读取链栈的栈顶元素; 2-3 以循环队列喂存储结构,实现循环队列的建立,实现循环队列的入队运算,出队运算; 2-4用栈实现括号的匹配问题; 2-5实现汉诺塔问题.; 3-1采用链式存储表示,按给定的先序序列创建二叉树,并输出二叉树。 3-2-1和3-2-2采用二叉链表作为存储结构,建立二叉树,采用递归算法实现二叉树遍历,另外采
BinaryTree
- 创建二叉树,先序、中序、后序遍历二叉树的递归及非递归,和按层次便利二叉树的实现-Create a binary tree, preorder, inorder, postorder recursive and non-recursive binary tree, and at different levels to achieve a convenient binary tree
BiLinkTree
- 二叉树的顺序存储表示结构定义,非递归的二叉链表创建和初始化等等(BiLinkTree Definition of sequential storage representation structure for two binary tree)
二叉树非递归创建
- 用c++编程,二叉树非递归的创建,创建 求深度 查找 求叶子结点数 遍历输出 层次遍历 层次创建(Non-recursive creation of binary tree)
binary tree
- 二叉树的创建和非递归遍历,包括先序遍历,中序遍历,后序遍历(the creation and non-recursive traversal of binary tree)
二叉树的遍历
- 主要实现:创建二叉树、用先中后序遍历二叉树(中序,先序和后序遍历用非递归实现),并输出树高。(The main achievement is to create two branches tree, and use the first and middle traversal to traverse the two fork tree.)