搜索资源列表
实验5
- 二叉排序树或者是一棵空树,或者是具有下列性质的二叉树: (1)若左子树不空,则左子树上所有结点的值均小于或等于它的根结点的值; (2)若右子树不空,则右子树上所有结点的值均大于或等于它的根结点的值; (3)左、右子树也分别为二叉排序树;(A two - fork sort tree or an empty tree, or a two - fork tree with the following properties: (1
HuffmanCode
- 哈夫曼树编码,数据结构c语言版,哈夫曼树的编码程序,通过不同的权值获得不同的编码,值得参考(The program for the Huffman coding process, more detailed, the annotation is more, hope someone communicate with me!)
问题 J
- 顺序方式存储的完全二叉树进行重建 题目描述 按顺序方式存储的一棵完全二叉树的结点记录,结点个数为n。根据所输入的顺序结构的结点记录建立二叉树,输出树的先序,中序和后序遍历结果。 注:数字“0”表示不存在此结点,没有孩子结点。 输入 树结点个数n 顺序方式存储的完全二叉树 输出 先序遍历输出 中序遍历输出 后序遍历输出 样例输入 10 1 2 0 3 4 0 0 5 6 7 样例输出 1 2 3 5
shuju5
- 一、实验目的 1、进一步掌握指针变量、动态变量的含义。 2、掌握二叉树的结构特性,以及各种存储结构的特点和适用范围。 3、掌握用指针类型描述、访问和处理二叉树的运算。 二、实验内容 1、以二叉链表作存储结构,试编写前序、中序、后序遍历二叉树的算法。(First, the purpose of the experiment 1. Further grasp the meaning of the pointer variab
datastructure
- 部分数据结构的实现,以及应用(包括二叉树、父指针表示树、链表、栈、队列、以及一个汉诺塔问题算法)(The implementation of some data structures and its application)
DS
- 一点常见的数据结构及其实现,如二叉树、哈夫曼数及其编码、图的dfs(some commonly used data structures)
字符统计
- 数据结构作业 基于哈夫曼树算法的字符统计(the program is depending on the Huffman Tree)
LatestCode
- 各种数据结构实现,例如:线性表,树,图。以及常见问题的解决。(Implementation of various data structures)
RedBlackBST
- 红黑树和AVL树一样都对插入时间、删除时间和查找时间提供了最好可能的最坏情况担保。这不只是使它们在时间敏感的应用如实时应用(real time application)中有价值,而且使它们有在提供最坏情况担保的其他数据结构中作为建造板块的价值;例如,在计算几何中使用的很多数据结构都可以基于红黑树。(a red black tree is a self balancing tree that could balance it self)
binarytree
- 在codeblock上编写的的东西 能够实现二叉树的建立排序与搜索 适合刚学习数据结构的年轻人们带着黑框眼镜苟着食用(nice files, very useful in learning binary trees)
数据结构课程设计源代码
- 编写一个程序,通过前缀表达式来构造一个与之对应的算术表达式并存入二叉树中,通过中序遍历二叉树输出表达式及对其进行变量赋值,通过后序遍历二叉树计算表达式的值。(A program is written by prefix expression to construct an arithmetic expression corresponding to it and store it into two binary tree. Throug
Ztree
- Ztree的生成功能说明js中使用,应用于树结构(The generating function of Ztree illustrates the use of the tree structure in JS)
searchBinTree
- 在计算机科学中,二叉树是每个节点最多有两个子树的树结构。通常子树被称作“左子树”(left subtree)和“右子树”(right subtree)。二叉树常被用于实现二叉查找树和二叉堆。二叉树的思想、深度、高度以及二叉树的遍历都深深影响着计算机科学的发展。 这次要利用二叉树去实现读入一个文件的单词,然后建立一棵二叉搜索树,然后输出二叉搜索树的高度、叶子树等信息,以及实现其中序遍历。利用二叉搜索树,能将大量单词很快地排好序,性能很高。
2017-6-13 数据结构及算法模块
- 易语言代码实现部分数据结构源码,包含堆排序,快速排序,归并排序,小根堆,大根堆,树,栈等(Easy language code part data structure source code, including heap sort, quick sort, merge sort, heap min, Gen, tree, stack etc.)
TLRandLTR1
- 数据结构学习过程中二叉树的遍历的程序,前序中序。(three different array through the analysis of getting three different array from the same tree using three different algorithm: preorder traversal, inorder traversal and postorder traversal.)
Tree
- 本代码从基础的建立树开始,介绍了一系列二叉树的基本操作,方便初步学习数据结构的童鞋学习(This code starts from the foundation tree, introduces the basic operation of a series of two forked trees, which is convenient to learn the data structure of children's shoes.)
HGWO0
- 该源程序是用动态规划算法求解最优二叉搜索树问题()
967578
- 高效的k-means算法实现,使用了k-d树与局部搜索等提高k-means算法的执行效率,同时包含示例代码,用c++代码实()
bitree
- 判断一棵树是否为二叉树。是数据结构学习阶段的基础算法。(Judge whether a tree is a binary tree.)
tree
- 使用模板C++实现的树,包含几种常用的遍历方式,简单明了(The template implementation of a tree contains several traversal methods)