搜索资源列表
5_addtion
- 递归与非递归算法同时实现了二叉树的前序,中序,后序遍历。-Recursive and non-recursive algorithm while achieving a pre-order binary tree, in sequence, after the traversal.
depth-first-traversal
- 这是一个数据结构中二叉树的邻接链表的建立以及广度优先遍历和深度优先遍历的算法,对于初学者来说,这样的算法简单易懂,非常容易上手-This is to establish and breadth of a binary tree data structure adjacency list first traversal and depth-first traversal algorithm, for starters, this algorithm is simple to understand
binaryTree
- 用代码动态实现任意一棵不超过四层的二叉树的先序遍历过程-With code dynamically to achieve no more than four of any one binary tree preorder process
Btrade
- 创建二叉树,并实现二叉树的先序、中序、后序遍历。-realize the traversal of binary tree
erchashushixian
- 二叉排序树的实现 实现二叉排序树,包括生成、插入,删除; 对二叉排序树进行先根、中根、和后根非递归遍历; 每次对树的修改操作和遍历操作的显示结果都需要在屏幕上用树的形状表示出来。 -英语中文德语检测语言 中文(简体)英语日语 翻译文字或网页 二叉排序树的实现 实现二叉排序树,包括生成、插入,删除; 对二叉排序树进行先根、中根、和后根非递归遍历; 每次对树的修改操作和遍历操作的显示结果都需要在屏幕上用树的形状表示出来。 请键入文字或网站地址,
tree
- 树的模板实现,前序遍历、中序遍历、层序遍历等-the preordertraverse,postordertraverse,levelpreordertraverse
ExchangeTree
- 先序创建二叉树,将二叉树所有节点的左右子树交换,再先序遍历输出-create a binary tree in first order, exchange all the nodes of the binary subtree , then preorder output
Huffman-tree
- 哈夫曼树的构建,遍历,编码,及求加权路径,代码简单修改方便-Construction, Huffman tree traversal, coding, and compute the weighted path, code simple and easy to modify
buildTree
- 二叉树是采用递归定义的,实现起来代码简洁并且它在具体的计算机科学中有很重要的运用,是一种很重要的数据结构,二叉树有三种遍历和建立的方式。-Binary Tree is a recursive definition, the code is simple to implement and it has very important applications in computer science in particular, is a very important data structure,
tree
- 数据结构 二叉树 关于二叉树的各种操作 先序,中序,后续遍历-tree operation
a
- 基于二叉链表存储结构实现二叉树的基本运算,要求: ⑴能建立非空二叉树; ⑵实现二叉树的先、中、后序递归遍历算法; ⑶实现二叉树的非递归的先(或中、或后)序遍历算法及层序遍历算法; ⑷记录运行结果并对递归算法和非递归算法的效率加以分析。 -List storage structure based on binary binary tree of basic operations, require: ⑴ to establish a non-empty binary tree
binary-tree-traversal
- 程序包括二叉树的前序,中序,后序遍历以及特定数据的查找-Program includes former preorder, preorder, after preorder of binary tree traversal and finding specific data. For simple binary tree software curriculum.
ds_5_8
- 此处可输入以下树来进行调试。 构建的树为 1 / | 2 3 4 / | \ 5 6 7 B | / 8 9 A 前序遍历:1 2 5 6 8 7 9 A 3 4 B 后序遍历:5 8 6 9 A 7 2 3 B 4 1 层次遍历:1 2 3 4 5 6 7 B 8 9 A-Here you can enter the following tree for debugging. Construction of the tree 1/| \ 2 3 4/|
Q4.8
- // You are given a binary tree in which each node contains a value. Design a lgorithm to print all paths which sum up to that value. Note that it can be any path in the tree - it does not have to start at the root. // 给定一棵二叉树,每个结点包含一个值。打印出所有满足以下
allBtreebianli
- 集合了数据结构二叉树的基本知识,讲解了二叉树的几种遍历,先序中序后序遍历的递归非递归用法-A collection of basics binary tree data structure, explain several binary tree traversal, after the first sequence in order preorder recursive non-recursive Usage
leecode
- leetcode上面部分算法的实现,目前已经实现了非递归前序遍历为二叉树,数组连续最大面积等-some algorithm leetcode
BST
- 1、 利用从键盘输入的n个数据建立一棵二叉排序树,对该树中序遍历,并输出其中序遍历序列。 2、 在二叉排序树上查找用户输入的结点数据。 -data struct
Tree-and-Forest
- 树的左孩子右兄弟实现。还有森林的实现。实现了查找、删除、遍历、求深度和高度等算法。-Left child right sibling tree implementation. And forests implementation. Achieve a search, delete, iterate, seeking depth and height algorithms.
BinaryTree
- 数据结构 二叉树的建立和遍历 1.按前序次序建立一棵二叉树,以‘#’表示空。 2.中序、后序遍历该二叉树,输出遍历序列。 3.求出该二叉树的深度并输出,或求出该二叉树的叶子数目并输出。 4.试以栈为辅助存储结构实现二叉树的前序非递归算法或以队列为辅助存储结构实现二叉树的层次遍历算法。-Data structure, the establishment and traversal of binary tree 1. According to the sequence order
postorder
- 利用stack实现后序遍历二叉树的非递归的算法~-After order traversal algorithm using non-recursive binary tree ~