搜索资源列表
BTree.二叉树的递归算法
- 二叉树的递归算法:计算高度、结点个数、交换左右儿子 问题的描述 写一完整函数,计算树的结点数目int CountNode(BTNode<T>* &t); 完善以下两个函数: 计算树的高度int Depth(BTNode<T>* &root); 对树的所有子树交换左右孩子void swapsons(BTNode<T>* &t);,Binary Tree Recursive Algorithm: Calculate the hei
RBTreeAndBinary_Search_Tree
- 实现红黑树、二叉搜索树相关算法:插入(红黑树涉及树的调整:左旋、右旋等),删除,搜索(指定Key值节点)。 另外,红黑树实现计算树黑高的算法。 -To achieve red-black tree, binary search tree related algorithms: insertion (red-black tree involves the adjustment of the tree: L, D, etc.), delete, search (Key value of t
DataStruct
- 此文件夹中共包括十二个小程序 AVL创建平衡二叉树,通过加入一个个的结点创建,并实现了平衡二叉树中的结点删除 Boyer_Moore算法的串模式匹配 Horspool算法的串模式匹配 Graph实现了有向图的非递归广度优先遍历及非递归深度优先遍历 HeapSort利用堆排序实现优先级队列 Merge实现二路归并排序算法 MFK动态规划解背包问题 nqueue求解n皇后问题 QuickSort快速排序算法的实现。 Shell排序算法的实现。 Tree程序
erchashu.txt
- 包括二叉树的建立和查找,是查找算法的一种,大家可以看看,参考一下。-Including the establishment of a binary tree and search is a search algorithm, we can see that reference.
B-TREE
- 二叉树算法是数据结构中最基本也是很重要的算法之一-Binary tree algorithm is the most basic data structure is also one of the important algorithms
24
- tc实现的二叉树算法集,对理解二叉树的相关算法有一定的帮助-tc binary tree algorithm to achieve set of related algorithms for understanding the binary tree is certainly helpful
bianliconggengdaoyezi
- C语言版的数据结构,利用遍历二叉树算法实现C语言的编程,即从根到路子结点的路径。-C language version of the data structure, binary tree traversal algorithm using C programming language, from the root to the path of the path nodes.
c.resourse
- 包含五个C源码,分别是:IP地址解析、二叉树算法集、广度优先搜索及深度优先搜索、华氏温度和摄氏温度的相互转换、用for循环模拟自由落体运动。-Contains five C source code, namely: IP address resolution, binary tree algorithm set, breadth-first search and depth-first search, Fahrenheit and Celsius temperature of one anoth
Bitree
- 采用OOP实现的 类的声明及其相关结构的定义:所有成员函数都通过测试了,大家只要通过CreateBinaryTree()函数用广义表字符串创建广义表后,就可以调用我写的任何一个成员函数了,可能还有其他更多的关于二叉树的算法,正在补充中,大家参考,共同学习共同交流。-)。-Data structure of binary tree traversal (pre-order, in sequence, after the sequence) algorithm, including recurs
erchashu
- 该代码实现的主要功能是实现二叉树算法的运算-The code to achieve the main function is to achieve the Binary Tree Algorithm
main
- 二叉树算法的实现 遍历是对树的一种最基本的运算,所谓遍历二叉树,就是按一定的规则和顺序走遍二叉树的所有结点,使每一个结点都被访问一次,而且只被访问一次。由于二叉树是非线性结构,因此,树的遍历实质上是将二叉树的各个结点转换成为一个线性序列来表示。-Binary tree traversal algorithm is a basic tree operations, so-called binary tree traversal, traveled according to certain ru
5
- 二叉树 你的程序必须接受命令行参数不确定的数目,其中第一个指定的输出文件,其余的用于指定输入文件。例如,参数可能是这样的: 输出文件inputFile1 inputFile2 ... 有了这些参数,程序会打开并阅读依次输入每个文件,建立一个二叉树 遍历二叉树算法-Count the number of the words in files:This assignment is designed to reinforce the student s understanding of
二叉树的高度和宽度
- 求二叉树的高度及宽度采用递归算法和非递归算法(Find the height and width of the two tree)
c二叉查找树
- 二叉树查找算法,是c数据结构的内容比较难做我做了很长时间才做出来(Two tree search algorithm, C data structure is more difficult to do, I have done a long time to do it)
swap
- 以二叉链表作存储结构,编写一个算法将二叉树左、右子树进行交换的算法(The two fork chain table is used as the storage structure to write an algorithm to exchange the left and right subtrees of the two fork tree.)
二叉树
- 二叉树的前、中、后、层次遍历的递归算法。其中包括构造二叉树链式存储的算法。(A recursive algorithm of traversing the front, middle, post and level of two forked trees. It includes the algorithm to construct two forked tree chain storage.)
c++算法与实践
- C++算法与实践 算法原理与实践课件1_谈&面试中的算法和编程准备 算法原理与实践课件5_二叉树 算法原理与实践课件2_数组与字符串 算法原理与实践课件3_链表 算法原理与实践课件6_排序和二分搜索(C++ Algorithm and Practice)
Binary Tree
- 1. 编写建立二叉树的二叉链表存储结构,并用广义表的形式显示; 2. 在二叉树的二叉链表存储基础上,实现二叉树的先序线索链表结构,并显示和存储二叉树的相应的线索链表; 3. 在二叉树的先序线索链表存储结构上,实现求任一个结点的先序的后继和前驱结点的算法; 4. 实现对先序线索二叉树的先序遍历的非递归算法,显示相应的遍历序列。(The establishment of preemptive clue binary tree and preorder traversal)
二叉树
- 基于二叉查找树进行优化,进而可以得到其他的树表查找算法,如平衡树、红黑树等高效算法(Based on the two fork search tree, we can optimize other tree table lookup algorithms, such as balanced tree, red black tree and other efficient algorithms.)
BinaryTreeRestore
- 重建二叉树.依据某二叉树的前序遍历和中序遍历结果,重建该二叉树。(binary tree restore. According to the forward-sequence and middle-sequence result of the binary tree to restore the binary tree.)