-
关于图的一些基本操作,以及实现细节
关于图的一些基本操作,以及实现细节-map on the basic operation and the achievement of details
- 2022-02-14 14:56:11下载
- 积分:1
-
一个文档管理的演示程序,针对凌乱的文件及其繁琐的查找问题,如何在数据库中实现全文检索。...
一个文档管理的演示程序,针对凌乱的文件及其繁琐的查找问题,如何在数据库中实现全文检索。-A document management demonstration program, for the messy and tedious to find the file problem, how to achieve the full-text search in the database.
- 2022-07-07 14:02:11下载
- 积分:1
-
1.[问题描述]
编写递归算法,计算二叉树中叶子结点的数目
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g ....
1.[问题描述]
编写递归算法,计算二叉树中叶子结点的数目
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g .
[输出]
按中序序列输出,输出的结果为;dbheaficg并计算出二叉树中叶子结点的数目为4
[存储结构]
采用二叉表存储
[算法的基本思想]
采用递归方法建立和遍历二叉树。首先建立二叉树的根结点,然后建立其左右子树,直到空子树为止,中序遍历二叉树时,先遍厉左子树,后遍厉右子树,最后访问根结点。根据左右子树的最后一个结点计算出二叉树中叶子结点的数目。
程序如下:
#include
#include
#include"stdlib.h" -1. [Description of the issue] to prepare recursive algorithm, Binary calculation leaves the number of nodes [imported] in accordance with the first order input sequence in the order of the node contents. Input abd eh i g cf. [Output] by the order sequence output, the results of the output; dbheaficg calculated Binary leaf node to the number four [storage structure] Table 2 forks storage [ The basic idea algorithm] recursive method and traverse binary tree. First established binary tree root node, and then to build their son around the tree, the tree until the loopholes, which preorder binary tree, Li first times the left sub-tree, right af
- 2023-08-31 16:00:04下载
- 积分:1
-
本程序集合了数据结构8种主要的排序方法:插入排序、冒泡排序、选择排序、快速排序、希尔排序、堆排序、归并排序、基数排序。...
本程序集合了数据结构8种主要的排序方法:插入排序、冒泡排序、选择排序、快速排序、希尔排序、堆排序、归并排序、基数排序。-the procedures set of data structure of the eight major sequencing method : Insert ranking Bubble Sort, select, in order of Quick Sort, Hill sequencing, heap sort, merge, in order of ranking base.
- 2022-06-01 02:33:00下载
- 积分:1
-
two pools and a reference algorithm
这是两个集合交并的一个算法-two pools and a reference algorithm
- 2022-05-10 14:32:53下载
- 积分:1
-
数据结构的教程
数据结构的教程-data structure Guide
- 2022-04-02 02:19:44下载
- 积分:1
-
一元多项式的计算,建立两个多项式,并进行相加,相减运算,输出结果.参考资料:严蔚敏《数据结构与算法》...
一元多项式的计算,建立两个多项式,并进行相加,相减运算,输出结果.参考资料:严蔚敏《数据结构与算法》-one yuan polynomial calculations, the establishment of two polynomials, and together, subtract operation, the output results. References : Yan Wei Min "data structure and algorithm"
- 2022-11-01 12:10:03下载
- 积分:1
-
回文游戏,c语言,有源码,可以参考研究使用。
回文游戏,c语言,有源码,可以参考研究使用。-palindrome games, c language, and the source code can reference study.
- 2022-09-17 19:55:03下载
- 积分:1
-
c language data structure, you can use a free download without registration
c语言实现数据结构,免费下载即可使用,无需注册
-c language data structure, you can use a free download without registration
- 2022-03-02 07:17:30下载
- 积分:1
-
哈希表姓名查找
资源描述利用哈希表进行姓名查找,实现了快速查找姓名功能、哈希表展示功能,并且会统计出平均查找长度,数据结构哈希表的应用以及课程设计可参考。
- 2022-04-06 23:27:36下载
- 积分:1