搜索资源列表
tree
- 多元树的层次遍历、先根遍历、后根遍历 问题的描述: 函数填空:层次遍历多元树(在文件tree.cpp中3个空)、先根遍历、后根遍历的递归函数(在文件tree.h中2个空); 多元树的输入:在主程序中调用多元树的函数(定位根、找大儿子、找下一个兄弟等),输入某棵多元树。 -Multi-level tree traversal, the first traversal the root, root traversal issues Descr iption: function to
binarytreesearch
- 包含中序遍历二叉树的递归和非递归算法的源代码-Included in the sequence of recursive binary tree traversal and non-recursive algorithm source code
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
shu3
- 数据结构二叉树的先序,中序,后序遍历,按层次输入建立-Binary tree data structure of the first order, in sequence, after the traversal, according to the level of input to establish
erchashujibencaozuo
- 本程序是用TC编写,实现按中序遍历一个二叉树,并求出此二叉树的深度和高度。 ① 输入的形式:所输入的元素均为整数 ② 程序所要达到的功能:输入1,2,3输出按中序遍历好的二叉树3,2,1 ③ 并求得二叉树的结点数为3,深度为3 -This procedure is used to prepare TC to achieve by the traversal of a binary tree, and derive this binary tree of depth and hei
datastr
- C/C++常用的数据结构类 包括: array.h: 安全数组,可自动增长大小(随机访问,但扩充时效率低) linkedlist.h: 普通链表(可随机访问,但访问效率低) dclinkedlist: 双向循环链表(不可随机访问,但插入、遍历的效率都比普通链表高) hashtable.h: 哈希表(使用键值标识元素,键值一样的元素即认为相等,需重载 == 运算符并由用户定义哈希函数) binstree.h: 二叉搜索树(需重载 == 和 < 运算符) avltr
BiTree
- 动态建立二叉树,先序遍历和按层遍历建立二叉树的算法。-Dynamic establishment of binary tree, the first layer traversal and by the establishment of binary tree traversal algorithms.
DOMCount
- 自己开发的XML DOM计数程序DOMCount,使用DOM API解析XML文件,构造DOM树,然后遍历DOM树并计算元素个数(仅使用一个API调用)。 DOMCount解析XML文件,计算其元素数并打印。 用法: DOMCount [options]<XML file|List file> Options: -l,指示输入文件是一个列表文件,其中含有多个xml文件。默认情况下,该选项不存在,这时表明输入的是一个XML文件。 -v=xxx,Schema验证,
bianlioferchashu
- 二叉排序树的建立及中序遍历 二叉排序树的建立及中序遍历-Binary Sort Tree Establishment and traversal in binary sort tree establishment and traversal
erchashu
- 使用中序遍历,先序遍历,后序遍历,交换左右子树,计算结点数,计算树的高度-Use traversal first traversal, after traversal exchange about subtree, computing nodes, computing the height of the tree
fourth
- 二叉排序树(Binary Sort Tree--BST)或者是一棵空树;或者是具有下列性质的二叉树: ⑴ 若左子树不空,则左子树上所有结点的值均小于根结点的值;若右子树不空,则右子树上所有结点的值均大于根结点的值。 ⑵ 左右子树也都是二叉排序树。 (3) 中序遍历BST可得到一个关键字的有序序列 文本文件单词索引是指将文本中单词按字母顺序列出并且列出每个单词在文本中出现的次数,它也是关键字列表的一种特例,即单词为关键字并附加每个关键字在文中出现次数.文本文
DOMPrint
- 自己开发的XML DOM遍历打印程序DOMPrint,DOMPrint激活DOM解析器,解析XML文档,构造DOM树,并激活DOMWriter::writeNode()将DOM树序列化XML流,支持MFC,其不依赖其它除MFC以外任何程序库的支持,适合项目开发。用法请见压缩包里的Options.txt。-Developed their own XML DOM traversal printing process DOMPrint, DOMPrint activated DOM parser, X
200562241642141
- 遍历文件夹并建成目录树,一个非常好的例子-Traverse Folder and build the directory tree, a very good example
tree_rebuild
- 给一棵结点编号为1, 2, …, n 的二叉树的前序遍历序列和中序遍历序列,输 出后序遍历序列-To a node numbered 1, 2, ..., n of the binary tree traversal Preorder traversal sequence and in sequence, the output after the traversal sequence
binarytree
- 数据结构 二叉排序树 先序中序后序遍历 二叉树的查找-Data structure binary sort tree preorder traversal sequence after sequence of binary tree search
tree
- 数据结构C实现对二叉树的操作,有遍历二叉树的算法,统计叶子数,构造哈夫曼树。-C data structures to achieve the operation of binary tree, a binary tree traversal algorithms, statistical leaves the number of Huffman tree structure.
shudecengcibianli
- 树的层次遍历。 题目:给定一棵用二叉链表表示的二叉树,其中的指针t指向根结点,试写出从根开始,按层次遍历二叉树的算法,同层的结点按从左至右的次序访问。-The level of the tree traversal. Title: given a list with that of the binary tree, in which the indicators point to root node t try to write from the root to start, accordi
3
- 定义一个二叉树的类,并递归与非递归中序遍历二叉树-Define a binary tree class, and recursive and non-recursive traversal of binary tree
huffman
- 哈夫曼编码的实现与解析 基于二叉树技术的搜索 遍历-Huffman coding with the analytical technique based on the binary tree search traversal
binanytree-postorder
- 实现数据结构中的二叉树的后续遍历,能够从你输入的二叉树中找到路径-Data structure of the follow-up traversal of the tree, you have entered from the binary tree to find the path