-
网络优化算法:任两点间最短路径问题的BellmanFord算法
网络优化算法:任两点间最短路径问题的BellmanFord算法-Network optimization algorithms: the shortest path between any two points BellmanFord algorithm issues
- 2022-05-06 10:55:53下载
- 积分:1
-
用PB设计的前台界面
用PB设计的前台界面-with the prospects PB interface design
- 2022-04-23 14:14:04下载
- 积分:1
-
a small embedded database support SQL commands, the use of very simple
一个小型的嵌入式数据库,支持SQL命令,使用非常简单-a small embedded database support SQL commands, the use of very simple
- 2023-05-21 09:00:04下载
- 积分:1
-
2.[问题描述]
编写递归算法,在二叉树中求位于先序序列中第K个位置的结点
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh...
2.[问题描述]
编写递归算法,在二叉树中求位于先序序列中第K个位置的结点
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g 。输入要求的位置
[输出]
若二叉树不空,按先序序列输出,求出所求位置的结点
[存储结构]
采用二叉表存储
[算法的基本思想]
采用递归方法建立和遍历二叉树。首先建立二叉树的根结点,然后建立其左右子树,直到空子树为止,先序遍历二叉树时,先遍厉左子树,后遍厉右子树,最后访问根结点并计算出二叉树中叶子结点的数目和第K个位置的结点
#include
#include
struct node{
char info
struct node*llink,*rlink
}
typedef struct node NODE
-2. [Description of the issue] to prepare recursive algorithm, Binary for the first sequence sequence in the first position of the K-node [imported] in accordance with the first order input sequence in the order of the nodes content. Input abd eh i g cf. Import requirements of the position [output] if the binary tree is not empty, the first sequence by sequence output obtained by seeking the location of nodes [storage structure] Table 2 forks storage [algorithm for the basic idea] recursive method and Traversing binary tree. First established binary tree root node, and then to build t
- 2022-06-02 16:30:44下载
- 积分:1
-
Data dictionary description of the database design a great help to
数据字典的说明,对数据库设计有极大的帮助-Data dictionary description of the database design a great help to
- 2022-12-03 21:15:03下载
- 积分:1
-
神经网络中的K均值聚类算法II:
1.KMIn为输入数据文本,其中,第一个参数为所要聚类点个数,第二个参数为聚类点的维数,第三个参数为所要求聚类的个数...
神经网络中的K均值聚类算法II:
1.KMIn为输入数据文本,其中,第一个参数为所要聚类点个数,第二个参数为聚类点的维数,第三个参数为所要求聚类的个数
2.KM2OUT为经过K均值聚类算法II计算后得到的结果-Neural network in K-means clustering algorithm II: 1.KMIn input data for the text, of which the first parameter to be the number of clustering points, the second parameter is the dimension of clustering points, the third parameter for the clustering the number of requests for 2.KM2OUT after K-means clustering algorithm II calculation results
- 2022-08-10 11:09:03下载
- 积分:1
-
magic word memory
魔法单词记忆――DAO访问ACCESS数据库-magic word memory-- DAO visit ACCESS database
- 2022-02-04 15:13:14下载
- 积分:1
-
最段路径的算法
dijkstra算法,用C++编写
最段路径的算法
dijkstra算法,用C++编写-The dijkstra algorithm path segment algorithm, using C++ to prepare
- 2022-05-14 20:57:28下载
- 积分:1
-
实现堆栈先入后出的功能
堆栈是一种执行“先入后出”算法的存储器。数据一个一个顺序的存入(也就是压入——push)存储区中。有一个地址指针总是指向最后一个压入堆栈的数据所在的数据单元,存放这个地址的指针的寄存器叫做堆栈指示器。开始放入数据的单元叫做“栈底”,最后放入的数据的单元叫做“栈顶”。数据一个一个地存入,这个过程叫做“压栈”。在压栈的过程中,每有一个数据压入堆栈,就放在和前一个单元相连的后面的一个单元中,堆栈指示器中的地址自动加1。读取这些数据时,按照堆栈指示器中的地址读取数据,堆栈指示器的地址数自动减1,这个过程叫做“弹出——pop”。如此,就可以实现了“先入后出”的原则。
- 2022-02-14 16:34:28下载
- 积分:1
-
针对Excel表格文件操作的编程实现
可实现读写和表格查询
针对Excel表格文件操作的编程实现
可实现读写和表格查询-against Excel spreadsheet file manipulation of the program can achieve literacy and form inquiries
- 2022-08-24 09:53:03下载
- 积分:1