资源列表
[数据结构常用算法] lab
说明:对于初始给定的数组,通常存在多个长度大于1的已自然排好序的子数组段.例如,若数组a中元素为{4,8,3,7,1,5,6,2},则自然排好序的子数组段有{4,8},{3,7},{1,5,6},{2}.用一次对数组a的线性扫描就足以找出所有这些排好序的子数组段.然后将相邻的排好序的子数组段两两合并,构成更大的排好序的子数组段({3,4,7,8},{1,2,5,6}).继续合并相邻排好序的子数组段,直至整个数组已排好序。-For the initial given array, usually pre<cqd> 在 2025-07-25 上传 | 大小:1kb | 下载:0
[数据结构常用算法] experiment-three
说明:数据结构实验代码加报告,实验内容为有序链表的元素按照从小到大有序存储;实现有序链表的类模板,用有序链表表示集合,实现两个集合的并和交(并和交仍是有序链表)并分析它们的时间复杂度-Experimental data structure code plus report, the contents of an ordered list of test elements are stored in ascending order to achieve an orderly list of class<Tina> 在 2025-07-25 上传 | 大小:2.06mb | 下载:0
[数据结构常用算法] experiment-two-
说明:数据结构实验:实现分数的+,-,*,/,=,<,>,==等运算符重载,2.实现分数的输入:按照分别输入分子和分母的方式输入;3.实现分数的化简,至少用两种方法实现(辗转相除法);比较两种分数化简方法的效率,实现分数的输出,格式:5/31; 6/5;100/300;要求输出的分数是简分数-Experimental data structure: achieve scores+,-,*, /, =, < ,> , ==, such as operator overloading,<Tina> 在 2025-07-25 上传 | 大小:4.81mb | 下载:0
[数据结构常用算法] lcs
说明:用python实现了最长公共子序列LCS代码,分别应用递归方法和动态规划实现。并且实现了三个字符串的最长公共子序列。-Using Python to achieve the longest common subsequence of LCS code, respectively using recursive method and dynamic programming. And the realization of the longest common subsequence of three<王宝鑫> 在 2025-07-25 上传 | 大小:1kb | 下载:0