-
严蔚敏数据结构的源c代码,非常的经典,很适合初学者的使用...
严蔚敏数据结构的源c代码,非常的经典,很适合初学者的使用-YAN Wei-min data structure c source code, very classic, very suitable for beginners to use
- 2022-04-16 19:50:22下载
- 积分:1
-
这是俺编写的一个堆栈,采用模版函数编写,面向过程设计,供大家参考...
这是俺编写的一个堆栈,采用模版函数编写,面向过程设计,供大家参考-I prepared a stack, using templates prepared function, process-oriented design, for your reference
- 2022-08-11 03:57:59下载
- 积分: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
-
一个可以替代windows ODBC驱动程序管理器的通用ODBC数据库引擎
一个可以替代windows ODBC驱动程序管理器的通用ODBC数据库引擎- May substitute windows ODBC to actuate the program manager the
general ODBC database engine
- 2022-01-25 16:00:38下载
- 积分:1
-
一道北大acm的试题,用双向链表实现模拟内存分配的程序
一道北大acm的试题,用双向链表实现模拟内存分配的程序-1 Peking University acm of examination questions, with two-way linked list of memory allocation procedures for analog
- 2022-03-02 17:16:01下载
- 积分:1
-
创建和修改自定义的数据库
创建和修改自定义的数据库-Create and modify selfdefined database.
- 2022-06-30 22:53:45下载
- 积分:1
-
prim算法是将一个无向图生成最小生成树的算法。其中一个是用最下堆实现的,已在压缩包的txt文件中说明。...
prim算法是将一个无向图生成最小生成树的算法。其中一个是用最下堆实现的,已在压缩包的txt文件中说明。-prim algorithm is an undirected graph generated minimum spanning tree algorithms. One of them is the most under the heap to achieve, has been compressed package txt-documented.
- 2022-09-13 04:55:02下载
- 积分:1
-
vc++数据库编程ListCombo
vc++数据库编程ListCombo-vc ListCombo Database Programming
- 2022-09-13 13:50:03下载
- 积分:1
-
BMP存入xml文件中,同时也可以读出。包含两个实例,非常感谢另一个位作者。...
BMP存入xml文件中,同时也可以读出。包含两个实例,非常感谢另一个位作者。-BMP deposited xml document, but can also read out. Contains two examples, I would like to thank the other writers.
- 2022-09-24 19:15:03下载
- 积分:1
-
哈夫曼算法的源程序,根据清华大学数据结构一书中的算法编写...
哈夫曼算法的源程序,根据清华大学数据结构一书中的算法编写-Huffman algorithm source code, according to a data structure of Qinghua University"s book algorithm
- 2022-09-02 13:55:03下载
- 积分:1