资源列表
[数据结构常用算法] lcs
说明:最长公共子序列算法LCS实现。任意输入两个字符串,通过此算法可以找到最长的公共子序列。-The longest common sub-sequence algorithm LCS realize. Arbitrary input two strings, this algorithm can find the longest common sub-sequence.<oscarfuture> 在 2025-08-20 上传 | 大小:1kb | 下载:0
[数据结构常用算法] same
说明:有时需要测试2 个数据结构的同构性,即2个同构的结构在相应的位置具有相同结点数 和分枝数。试设计一个递归函数用于测试2 棵二叉树是否同构。-Sometimes need to test two data structure isomorphism, ie isomorphism of two structures in the corresponding location with the same number of nodes and branches. Test the design<刘丹> 在 2025-08-20 上传 | 大小:1kb | 下载:0