- 
                        文件分类和统计的话,TF / IDF等
                        
                          documents classification and words statiscs TF/IDF etc                         
                            - 2022-11-27 11:45:03下载
- 积分: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
 
- 
                        用java实现数据库的管理功能,如编辑,插入删除等,适合初学者...
                        
                          用java实现数据库的管理功能,如编辑,插入删除等,适合初学者-Achieved using java database management functions, such as edit, insert or delete, suitable for beginners                         
                            - 2022-03-15 06:38:30下载
- 积分:1
 
- 
                        严蔚敏编写的《数据结构》第10章的答案,全部为源码
                        
                          严蔚敏编写的《数据结构》第10章的答案,全部为源码-the answers of chapter 10 of a book called ‘Data Structures’ writen by Yan Wei Min                         
                            - 2022-05-16 17:51:29下载
- 积分:1
 
- 
                        数据结构-3 sum
                        
                          We
discussed two versions of the 3-sum problem: A "naive" implementation
(O(N^3)) and a "sophisticated" implementation (O(N^2 lg N)).
Implement these algorithms.  Your implementation should
be able to read data in from regular data/text file with each entry on a
separate line.                         
                            - 2022-10-11 08:55:04下载
- 积分:1
 
- 
                        数据结构中的平衡二叉树的代码
                        
                          数据结构中的平衡二叉树的代码- In construction of data balance two forks tree s code                         
                            - 2022-04-13 00:54:14下载
- 积分:1
 
- 
                        一个自己写的com+数据模块的源码,对于写数据库的人很有用的...
                        
                          一个自己写的com+数据模块的源码,对于写数据库的人很有用的-one wrote it myself com data module source code, the database was made for the very useful                         
                            - 2022-10-06 14:20:02下载
- 积分:1
 
- 
                        本人上传的是用分治法实现的大整数算法,采用的是数组形式。...
                        
                          本人上传的是用分治法实现的大整数算法,采用的是数组形式。-I uploaded is to use divide and conquer to achieve a large integer arithmetic, using the array form.                         
                            - 2023-04-07 00:40:03下载
- 积分:1
 
- 
                        java数据结构方面的,关于二叉树,很简单、实用
                        
                          java数据结构方面的,关于二叉树,很简单、实用-data structure, for the binary tree, a very simple, practical                         
                            - 2023-05-20 06:25:03下载
- 积分:1
 
- 
                        C语言实现数据结构中最短路径的算法代码,有图形显示。欢迎下载...
                        
                          C语言实现数据结构中最短路径的算法代码,有图形显示。欢迎下载-C language data structure, the shortest path algorithm code, a graphical display. Welcome to download                         
                            - 2023-03-07 14:50:03下载
- 积分:1