-
双向连表的演示程序
1、创建连表
2、在头部增加节点
3、在尾部增加节点
4、插入节点
5、删除节点
6、遍历连表...
双向连表的演示程序
1、创建连表
2、在头部增加节点
3、在尾部增加节点
4、插入节点
5、删除节点
6、遍历连表-Even two-way table 1 demo program to create even the Table 2, the increase in the head node 3, an increase in the tail of the node 4, insert the node 5, node 6 delete, traverse even the Table
- 2022-03-23 21:23:29下载
- 积分:1
-
(1) 用一个4*20的二维数组M,第1行存放按从小到大排序的20个所给出的ai和bi,第2行存放相应的作业序号,第3行存放1或2(1代表是来自ai,2代表是来...
(1) 用一个4*20的二维数组M,第1行存放按从小到大排序的20个所给出的ai和bi,第2行存放相应的作业序号,第3行存放1或2(1代表是来自ai,2代表是来自bi), 第4行存放0或1(0代表作业序号未进入最优调度方案;1代表作业序号已进入最优调度方案)
(2) 排序完后,按课本所述方法求一种最优调度方案,存放在S中。
-(1) with a 4* 20 two-dimensional array M, the first a line to deposit a small to large order of 20 given by ai and bi, line 2 store operation corresponding serial number, the first three lines deposited one or 2 (a representative from the ai, 2 representatives from the bi), the first four rows stored 0 or 1 (0 for job number to gain access to optimal scheduling programs a job number has been entered on behalf of the optimal scheduling scheme) ( 2) Sort exhausted, according to the methods described in textbooks, seeking the optimal scheduling of a program stored in the S in.
- 2022-05-07 13:53:40下载
- 积分:1
-
自己的作品。。基于VB的图书馆管理系统。
感觉很有现实意义...
自己的作品。。基于VB的图书馆管理系统。
感觉很有现实意义-their work. . VB-based library management system. Feeling very realistic significance
- 2022-07-13 19:45:07下载
- 积分:1
-
本人上传的是用贪心算法实现找零钱问题。贪婪算法的根本思想是逐步获得最优解。...
本人上传的是用贪心算法实现找零钱问题。贪婪算法的根本思想是逐步获得最优解。-I uploaded is to use greedy algorithm to find small change problem. Greedy algorithm is the fundamental idea is to gradually get the optimal solution.
- 2022-03-02 15:39:29下载
- 积分:1
-
There is a chance to appreciate different ways of life.
实现哈夫曼编码译码,可以实现,本实验可以实现编码,译码,打印哈夫曼数,等-There is a chance to appreciate different ways of life.
- 2023-04-27 11:30:03下载
- 积分:1
-
数据结构(C++版)的演示程序,详细演示归并排序的具体调用过程...
数据结构(C++版)的演示程序,详细演示归并排序的具体调用过程-data structure (C++ version) demonstration program, a detailed presentation of specific merge sorting process called
- 2022-01-26 01:48:42下载
- 积分:1
-
a good VC source code, worth learning
一个很好的VC源代码,值得借鉴-a good VC source code, worth learning
- 2022-11-07 12:25:03下载
- 积分:1
-
I do two large one on object
我大2做的一个关于面向对象的课程设计-I do two large one on object-oriented design courses
- 2022-05-30 10:29:22下载
- 积分:1
-
主要是二叉树的一些性质的操作。包括复制,清空,求取树高,树中元素的个数,得到根结点,父亲结点,所有祖先,左儿子,右儿子,插入左儿子,右儿子,查找某个元素,以及前...
主要是二叉树的一些性质的操作。包括复制,清空,求取树高,树中元素的个数,得到根结点,父亲结点,所有祖先,左儿子,右儿子,插入左儿子,右儿子,查找某个元素,以及前、中、后、层次遍历和相关的操作。另外,可以树形显示这棵树的信息。-Some properties are mainly binary operation. Including reproduction, empty, to strike a tree height, the number of elements in the tree get root node, the father node, all the ancestors, the left son, right son, insert the left son, right son, to find an element, and the former , during and after, hierarchical traversal and related operations. In addition, you can display tree tree information.
- 2022-11-05 05:15:02下载
- 积分:1
-
Establishment and tree traversal can be achieved: (1) tree created using the fir...
二叉树的建立与遍历
可实现:
(1)树的创建采用先序方式,用特殊符号0表示左、右子树为空
(2)每次输入一个节点的值,可以根据自己的需要设计不同的节点结构
(3)节点的值为非零数
(4)可以()形式输出创建的树
(5)用先序后序和中序遍历树
(6)销毁树
-Establishment and tree traversal can be achieved: (1) tree created using the first order approach, with special symbols 0 express the left and right subtree is empty (2) for each input the value of a node, you can according to their own needs Design of different node structure (3) non-zero value of the node number (4) can () to create the form of the output tree (5) after the first sequence and the sequence of traversal tree (6) the destruction of trees
- 2022-05-14 12:51:14下载
- 积分:1