搜索资源列表
二叉树jian
- 这个程序采用先序建立二叉树,并分别使用递归和非递归算法实现了对该二叉树的先中后序的遍历输出,并给出了一定的使用说明-this procedure was used in order to establish a binary tree respectively, and the use of recursive and non - recursive algorithm of this binary tree after the first sequence which Ergodic outp
BTREE2006
- 一个非递归建立二差树的算法!输入先序带结束符号的序列建立二叉树!原创-establish two poor tree algorithm! First imported symbols sequence ended with the establishment of the sequence binary tree! Originality
wemjiam
- 这是一个数据结构常用的算法叫huffman编码.是对一棵二叉树进行huffman编码的算法-This is a common data structure called Huffman coding algorithm. For a binary tree for HUF fman Coding Algorithm
erchashuquanji
- 二叉树的常用算法,基本上都在这里了,不足之处还望高手指点,-binary tree algorithm used basically in here, the shortfall has also hope master guiding, thank you
sjjgys
- 各种数据结构和算法演示(顺序表,链表,二叉树,图,动态查找,广义表,串,存储管理等)-various data structures and algorithms Demo (chronology, linked list, binary tree, graphics, dynamic search, generalized table, string, Storage Management)
erchashusuanfalunwen
- 二叉树的算法毕业论文,赶快下啊,需要毕业论文的。-binary tree algorithm dissertation and quickly under ah need the dissertation.
6.51
- 采用分治的算法来求解二叉树的高度的问题.-adopt a rule binary tree algorithm to solve the height problem.
非递归前序,中序,后序遍历二叉树(优化算法)
- 非递归前序,中序,后序遍历二叉树(优化算法)-before non - recursive sequence, sequence after sequence binary tree traversal (optimization algorithm)
genBST
- 通用二叉搜索树,包含的算法有:输出广度优先遍历、前序、中序、后序遍历结果,按树的形状打印树,统计总节点数,统计叶子节点数,统计右节点数,计算树的高度,删除所有叶子节点,插入节点,查找节点,删除节点,由前序遍历结果和中序遍历结果生成树,由后序遍历结果和中序遍历结果生成树,检查该树是否平衡和完全平衡。-generic binary search tree contains the algorithm are : output breadth - first traversal, the former
E64_0230
- 平衡二叉树操作的演示 一、 需求分析 (1) 利用平衡二叉树实现动态查找表。实现查找,插入和删除三种基本功能。 (2) 初始,平衡二叉树为空树,操作界面给出查找,插入和删除三种操供选择。每种操作均要提示输入关键字。每次插入和删除一个接点时,显示更新的平衡二叉树。 (3) 重点在于对删除算法的实现。假设要删除的关键字为X的结点,若X不在叶子结点上,则用左子树中的最大值或者右子树中的最小值取代X。如此反复,直到删除动作传递到某个叶子结点,删除叶子结点时,若要进行平衡变换,可采用插入的
erchashu
- 1) 以二叉链表或三叉链表作为二叉树的存储结构; 2) 以某一种遍历的次序录入二叉树的元素,写出相应的二/三叉链表的创建算法,并上机实现该算法;
Graph2
- 二叉树的遍历、线索化、遍历线索化二叉树等算法;深度搜索优先、广度搜索优先算法, 最小生成树、最短路算法。
wxc_btree
- 数据结构算法(C++Builder实现)二叉树的类定义和实现
wxc_BSTree
- 数据结构算法(C++实现)二叉搜索树的类定义和实现
wxc_TBSTree
- 数据结构算法(C++实现)线索二叉树的类定义和实现
datastructure
- 建立二叉树的链式存储结构,在此基础上完成下列算法: 1) 从键盘上输入二叉树的各个结点,建立二叉链表 2) 输出该二叉树; 3) 非递归的层次遍历序; 4) 非递归的先序遍历、中序遍历、后序遍历;
将森林转化为二叉树
- 将森林转化为相应二叉树的算法-conversion of forest to the corresponding binary tree algorithm
判断二叉搜索树
- 判断一棵二叉树是否为二叉搜索树的算法-judge whether a binary tree search for the binary tree algorithm
datastructure
- 编写一个算法,输出一个二叉树的所有叶子结点,并统计叶子结点个数
vcddd
- 都是以前随手编写的笑程序:总的来说只有五个<回文游戏,层次遍历二叉树,猴子选大王,先序、中序、后序遍历的递归算法等等> 如果对你又帮助你就下来看看吧-are readily prepared by the previous laugh : Overall only five lt; Palindrome games, the level traverse binary tree, monkey king election, the first sequence, sequence,