-
循环链表
声明结构 体,该结构体包含一个值,和一个指向下一个结点的指针next,初始化时头结点指针指向自身,每增加一个节点,使加入的结点的next指针指向头结点,使t头结点的next指针指向插入结点。 源代码 在vs2012 运行通过,界面使用菜单进行操作选择,友好方便,值得参考
- 2022-06-11 17:01:47下载
- 积分:1
-
数据结构:顺序栈
数据结构:顺序栈-data structure : Stack order
- 2022-08-20 19:47:04下载
- 积分:1
-
红黑树数据结构
红黑树性质
红黑树是每个结点都带有颜色属性的二叉查找树,颜色为红色或黑色。在二叉查找树强制一般要求以外,对于任何有效的红黑树我们增加了如下的额外要求:
列表项结点是红色或黑色。
根是黑色。
所有叶子都是黑色(叶子是NIL结点)。
每个红色结点必须有两个黑色的子结点。(从每个叶子到根的所有路径上不能有两个连续的红色结点。)
从任一结点到其每个叶子的所有简单路径都包含相同数目的黑色结点。
为了便于处理红黑树中的边界情况,使用一个哨兵来代表所有的NIL结点,也就是说所有指向NIL的指针都指向哨兵T.nil。
- 2022-05-05 19:56:42下载
- 积分:1
-
一个朋友管理系统,让你对朋友的点滴都可以记载在上面,以方便以后查看!...
一个朋友管理系统,让你对朋友的点滴都可以记载在上面,以方便以后查看!-a friend management system, enabling you to a friend anecdotes can be recorded in the above, to facilitate subsequent View!
- 2022-01-26 07:00:25下载
- 积分:1
-
用C语言实现动态表的源程序,包括各种必须的方法
用C语言实现动态表的源程序,包括各种必须的方法-C language movements of the source, including all necessary means
- 2022-05-07 10:57:32下载
- 积分:1
-
题目:稀疏矩阵是指那些多数元素为0的矩阵.利用稀疏特点进行存储和计算可以大大节省存储空间,提高计算效率.实现一个能进行稀疏矩阵基本运算的运算器.基本要求:以带行...
题目:稀疏矩阵是指那些多数元素为0的矩阵.利用稀疏特点进行存储和计算可以大大节省存储空间,提高计算效率.实现一个能进行稀疏矩阵基本运算的运算器.基本要求:以带行逻辑连接信息的3元组顺序表表示稀疏矩阵,实现两个矩阵相加,相减和相乘的运算.矩阵的输入形式采用3元组表示,而运算结果的矩阵则以通常的阵列形式列出.概要设计:1.以带行逻辑连接信息的3元组顺序表表示稀疏矩阵2.本程序包含2个模块:(1) 各集合定义模块(2) 主程序模块-topics : sparse matrix refers to those elements for most of the matrix 0. Using sparse features storage and computation can be greatly reduced storage space and improve computational efficiency. One can achieve for sparse matrix operations basic computing device. Basic requirements : OK logical connection with the three yuan Information Group the order said the sparse matrix table to achieve two matrices together, subtract and multiply arithmetic. Matrix entry forms using three yuan Group said, and the results of the matrix operations while the usual array listed. summary of design : 1. in line with the logic of information linking the three element group said sparse chronology matrix 2. this program contains two modules : (1) Set module (2) main program module
- 2022-05-29 01:02:00下载
- 积分:1
-
Apriori算法实现频繁项集和关联规则
一共建6个表:
1) 购物表Trade_List(Trade_ID,Product)
2) 频繁一项集Apri
- 2022-05-08 00:30:06下载
- 积分:1
-
VC下ADO开发实践,整理总结的一片文章,可以按照其说明学习在VC环境下的ADO数据库应用程序开发...
VC下ADO开发实践,整理总结的一片文章,可以按照其说明学习在VC环境下的ADO数据库应用程序开发-VC developed under the ADO practice, finishing a summary of the article, you can note in accordance with their learning in VC environment ADO database application development
- 2022-02-05 07:58:12下载
- 积分:1
-
我自己写的一个解决约瑟夫环的小程序,对学习数据结构的朋友可能有一些帮助,tc2编译通过...
我自己写的一个解决约瑟夫环的小程序,对学习数据结构的朋友可能有一些帮助,tc2编译通过-I wrote it myself a solution Josephus small procedures, the data structure of the study may have some friends help compile indexes
- 2022-04-22 20:21:07下载
- 积分:1
-
1 创建给定图的存储结构,从邻接表和邻接矩阵两种存储方式中选择一种。
2 对所创建的图进行深度和广度优先搜索遍历,给出遍历过程中的顶点序列。
3 求图的...
1 创建给定图的存储结构,从邻接表和邻接矩阵两种存储方式中选择一种。
2 对所创建的图进行深度和广度优先搜索遍历,给出遍历过程中的顶点序列。
3 求图的最小生成树,按构造顺序输出边的序列。(两种方法都要求!)
-Create a storage structure of a given graph from the adjacency list and adjacency matrix are two ways to choose a store. Two pairs of maps created by the depth and breadth-first search traversal, given the culmination of the process of traversal sequence. 3 order to map the minimum spanning tree, according to the order of the output side of the sequence structure. (Both methods require!)
- 2022-12-16 12:05:03下载
- 积分:1