资源列表
[数据结构常用算法] 归并法解决石子问题
说明:归并法解决石子合并问题,n堆石子围成一圈,利用归并法解决此问题。<812457938@qq.com> 在 2010-05-27 上传 | 大小:183.21kb | 下载:0
[数据结构常用算法] shortestway
说明:数据结构最短路径算法实现,可实现有向图,无向图,有向网,无向网四种最短路径求解,最后打印路径,和路径长度-Data structure to achieve the shortest path algorithm can be realized digraph, undirected graph, to the network, without the four shortest path to the network to solve the final print path, and pat<ling> 在 2025-06-16 上传 | 大小:184kb | 下载:0
[数据结构常用算法] Splay
说明:伸展树 都知道如果使用二叉查找树树平衡度不好则会降低查询效率,所以我们要维护二叉树的平衡性,即TreapTree 、SplayTree 、AVL、红黑等,本文介绍伸展树的平衡原理和核心代码 -Tree stretching all know if you use binary search tree tree balance will not reduce the query efficiency, and therefore we have to safeguard the balan<sql> 在 2025-06-16 上传 | 大小:184kb | 下载:0
[数据结构常用算法] link
说明:用带表头的链表存放输入的数据,每读入一个数,按升序顺序插入到链表中,链表中允许两个结点有相同值。链表的头结点存放链表后面的结点个数,初始化时就生成头结点(初值为0)。链表翻转是把数据逆序(变成降序),注意,头结点不动。翻转后要再翻转一次,恢复升序后才能插入新元素,否则会出错。-Using the list with the first table input data storage, each read a few, according to ascending order of insert<brian> 在 2025-06-16 上传 | 大小:184kb | 下载:0
[数据结构常用算法] TripleMatrix
说明:输入稀疏矩阵中非零的元素,然后建立整个矩阵,实现这两个矩阵相加、相减和相乘运算。 -Enter non-zero elements of sparse matrix, and then build the whole matrix, to achieve these two matrices are added together, subtraction, and multiplication operations.<wang> 在 2025-06-16 上传 | 大小:184kb | 下载:0
[数据结构常用算法] bijiao
说明:数据结构c语言各种排序时间复杂度的比较,希尔排序,快速排序等-C language data structure a variety of sorting time complexity comparison, Shell sort, quick sort, etc.<wulianfeng> 在 2025-06-16 上传 | 大小:184kb | 下载:0
[数据结构常用算法] Red-Black-Tree
说明:红黑树(Red-Black Tree)是二叉搜索树(Binary Search Tree)的一种改进-Red-Black Tree<张伟> 在 2025-06-16 上传 | 大小:184kb | 下载:0
[数据结构常用算法] red-black-tree-c
说明:红黑树的c实现源码与剖析,添加了注释,教你彻底实现红黑树-red and black tree C language source code and analysis.Include detailed explain.<wang xiaochun> 在 2025-06-16 上传 | 大小:183kb | 下载:0
[数据结构常用算法] NQueen_Nonrecursive
说明:非递归方法解决N皇后问题,任意两个皇后都不能处于同一行、同一列或同一斜线上。输出解法-A non recursive method for solving N queens problem, any two queens are not in the same line, the same row or on the same diagonal. Output solution<keii> 在 2025-06-16 上传 | 大小:183kb | 下载:0
[数据结构常用算法] 数据结构上机指导说明书与代码
说明:数据结构描述了非数值问题的数据元素及组织关系,包含逻辑结构、物理结构与数据运算。(Data structure describes the data elements and organizational relationships of non - numerical problems, including logical structure, physical structure and data operation.)<fairytxj> 在 2025-06-16 上传 | 大小:183kb | 下载:0