-
《啊哈!算法》
说明: 一本简单的可以作为入门的数据结构书籍,大量的可爱的插图能够让人更好理解数据结构。(A simple data structure book that can be used as an entry, a large number of cute illustrations can make people better understand the data structure.)
- 2020-04-12 20:37:38下载
- 积分:1
-
bracketmatching
这个程序用来解决树结构与树之间的程序匹配的问题这个程序可以解决很多的问题(it is very good)
- 2013-01-21 21:48:17下载
- 积分:1
-
自己写的课程设计数据结构,有需要的就看自己的了…
自己写的,数据结构课程设计,有需要的可以来看看看的,郁闷上传这麻烦-Their written curriculum design data structure, there is a need to look at to see if the can, and depressed From this trouble
- 2022-08-23 09:45:53下载
- 积分:1
-
一个进销存软件,管理数据仓库
一个进销存软件,便于管理仓库数据-a Invoicing software, manageable data warehouse
- 2022-01-25 16:05:33下载
- 积分: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
-
新建文件夹 (3)
说明: 关于抓住那头牛另一种代码书写,借鉴了一些大神的代码一下(As for grabbing the cow and writing another code, learn from the code of some gods.)
- 2019-06-13 09:38:39下载
- 积分:1
-
MongoDB 连接
这是一个 java 文件来连接到 MONGODB 数据库适合初学者。MongoDB 支持 Map Reduce 和分片为了获得最佳性能。MongoDB 用于大数据
- 2022-05-26 08:33:33下载
- 积分:1
-
将魔王的语言抽象为人类的语言:魔王语言由以下两种规则由人的语言逐步抽象上去的:α...
将魔王的语言抽象为人类的语言:魔王语言由以下两种规则由人的语言逐步抽象上去的:α-〉β1β2β3…βm ;θδ1δ2…-〉θδnθδn-1…θδ1
设大写字母表示魔王的语言,小写字母表示人的语言B-〉tAdA,A-〉sae,eg:B(ehnxgz)B解释为tsaedsaeezegexenehetsaedsae对应的话是:“天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一只鹅地上一只鹅”。(t-天d-地s-上a-一只e-鹅z-追g-赶x-下n-蛋h-恨)
- 2023-02-07 06:05:03下载
- 积分:1
-
used to achieve stack operation. The program is the stack into the stack and sta...
用链表实现栈的操作.该程序有栈的进栈和出栈操作.很简单.这是本人第一次上传程序源代码,如有什么不足之处还望各位多多海涵.-used to achieve stack operation. The program is the stack into the stack and stack up operation. Very simple. This is the first time I uploaded the source code, if there are any deficiencies Agency also look to a lot Haihan.
- 2022-05-08 05:26:50下载
- 积分:1
-
BigNumeberOperator
这是高精度大数运算的源码,对于大于64位的整形数字的四则运算,是万能的啊……(This is the code of big number s operator.)
- 2011-08-09 15:25:09下载
- 积分:1