资源列表
[数据结构常用算法] Matrix
说明:把一个N*N的三角矩阵按列的方式映射到一个3N*2的一维数组,功能设置,输入输出、存储搜索、加减乘、转置。-Put an N* N triangular matrix is mapped to the column by way of a one-dimensional array of 3N* 2, the feature set, input and output, storage, search, add and subtract multiply, trans<dongyuan> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] C-Matrix
说明:C-矩阵,除去第一行、第一列、最后一列外都为0.这样一个C-矩阵可以压缩存储为一维数组,先逐行再第一列的顺序。并且支持存储搜索功能。-C-matrix, removing the first row, first column, the last column are zero outside, so a C-matrix can be stored as a compressed one-dimensional array, then the order of the first column<dongyuan> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] sparse-matrix
说明:一个稀疏矩阵,按照列主次的顺序存储到一维数组中,支持存储和搜索。-A sparse matrix, primary and secondary storage in the order listed to a one-dimensional array, support storage and search.<dongyuan> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Josephus
说明:对任意输入的n和m,求出最后剩下的人的编号。要求利用线性表保存这n个人,分别用公式化、链接、模拟指针三种描述方法实现。 输入:input.txt,两个整数n(3-100),m(1-m)-N and for any input m, the remainder of the determined number of the last. This requires the use of a linear table holds n individuals, respectively formul<dongyuan> 在 2025-06-16 上传 | 大小:2kb | 下载:1
[数据结构常用算法] conversion
说明:数据结构的简单应用来实现数制转换,利用链式结构实现栈。-Simple application data structures to achieve number system conversion, the use of chain structure to achieve stack.<诚毅韬世> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Address-Book
说明:数据结构最经典的应用例子—通信录的实现。利用了链式结构的链表,适合开始接触数据结构的同学-Application data structure classic example- recorded communications implementation. Students take advantage of the chain structure of the list for getting started with data structures<诚毅韬世> 在 2025-06-16 上传 | 大小:2kb | 下载:0
[数据结构常用算法] 1-1
说明:一本书的页码从自然数1开始顺序编码直到自然数n。书的页码按照通常的习惯编排,每个页码都不含多余的前导数字0。例如第6页用6表示而不是06或006。数字统计问题要求对给定书的总页码,计算出书的全部页码中分别用到多少次数字0,1,2,3,.....9。-A book page from the coding sequence of natural numbers starting at 1 until the natural number n. Book page layout according< 高安市> 在 2025-06-16 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 3.4.6
说明:单链表中的数据元素含有三种字符(字母、数字、其他字符),算法实现构造三个循环链表,是每个循环链表中只含有同一类字符,且利用原表中的结点空间作为这三个表的结点空间。-Singly linked lists of data element contains three characters (letters, Numbers and other characters), the algorithm constructs three circular linked list, each cycle l<宿琳涵> 在 2025-06-16 上传 | 大小:193kb | 下载:0