资源列表
[数据结构常用算法] LD
说明:又称Levenshtein距离(也叫做Edit Distance),是指两个字串之间,由一个转成另一个所需的最少编辑操作次数。许可的编辑操作包括将一个字符替换成另一个字符,插入一个字符,删除一个字符。 -Also known as Levenshtein distance (also known as Edit Distance), is between two strings, one by one turned into the minimum required number of edit<zdl> 在 2025-06-23 上传 | 大小:171kb | 下载:0
[数据结构常用算法] LCS
说明: 最长公共子序列也称作最长公共子串(不要求连续),英文缩写为LCS(Longest Common Subsequence)。其定义是,一个序列 S ,如果分别是两个或多个已知序列的子序列,且是所有符合此条件序列中最长的,则 S 称为已知序列的最长公共子序列-Longest common subsequence, also known as the longest common strings (does not require continuous), the English abbreviat<zdl> 在 2025-06-23 上传 | 大小:156kb | 下载:0
[数据结构常用算法] CPPK-means
说明:K均值聚类首先需要确定聚成几类,然后按照迭代的方法,计算类的重心,然后按照向量和类重心的聚类重新分类,反复重复,直到分类稳定或者重心稳定。-K means clustering first need to identify clustered into several categories, and then follow the iterative method to calculate the focus of the class, and then follow the center of<zdl> 在 2025-06-23 上传 | 大小:3kb | 下载:0
[数据结构常用算法] shiyan4
说明:数据结构,二叉树的各种操作,二叉树的递归建立,非递归前序周游,非递归中序周游,非递归后续周游,叶子的个数,树 的高度,删除添加结点,c++语言实现。-Data structure, binary tree of the various operations, recursive binary tree establishment, non-recursive pre-order travel, travel non-recursive in-order, non-recursive follow<mm> 在 2025-06-23 上传 | 大小:3kb | 下载:0
[数据结构常用算法] string
说明:字符串的全操作,重载+、=,重载输入输出流,比较串长,清空串,曲取子串,插入函数,查找函数,正序查找,倒叙查找。-All string operations, overloaded+, =, overloading input and output streams, more string length, empty string, substring take music, insert function, search function, find the positive sequence<mm> 在 2025-06-23 上传 | 大小:2kb | 下载:0
[数据结构常用算法] shiyan1
说明:创建单链表;在单链表上查找第i个数据结点,返回其data值;在单链表第i个位置上插入一个取值为value的新的数据结点;删除单链表第i个数据结点,并返回该数据结点的取值;求单链表的长度。-Create a single list in a single list on the first i find a data node, return the data value in a single list on the first i positions to insert a value f<mm> 在 2025-06-23 上传 | 大小:1kb | 下载:0