登录
首页 » 算法 » 最长公共子字符串

最长公共子字符串

于 2022-04-16 发布 文件大小:234.07 kB
0 28
下载积分: 2 下载次数: 1

代码说明:

资源描述求两个输入序列的最长的公共子字符串的长度。子字符串中的所有字符在源字符串中必须相邻。 如字符串:21232523311324和字符串312123223445,他们的最长公共子字符串为21232,长度为5。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 巨指针类型数据的快速排序
    巨指针类型数据的快速排序法-Quick sort for the large pointer type data
    2022-10-04 15:50:03下载
    积分:1
  • 无线传感器质心定位matlab 仿真
    实现算法可能的方法: 1. 未知节点利用邻居锚节点进行定位,没有邻居锚节点的未知节点无法定位。 2. 未知节点一旦被定位,就充当锚节点。这时没有邻居锚节点的未知节点在等到自己的邻居未知节点定位之后就可以进行定位。 3. 有邻居锚节点的未知节点只利用邻居锚节点进行定位,没有邻居锚节点的未知节点才利用已经定位了的邻居未知节点进行定位。 Centroid.m采用的第一种方法; Centroid_second.m采用的第二种方法; Centroid_third.m采用的第三种方法;
    2022-01-21 17:57:46下载
    积分:1
  • linux下的cure聚类
    是linux下的cure算法,比较完整 #if !defined(lint) && !defined(SABER) static char rcsid[] = "$Header: /usr/src/local/conn/cluster/RCS/cluster.c,v 1.23 1993/02/03 07:43:07 stolcke Exp $"; #endif    /* not lint */ #include #include #include #include "alloc.h" #include "error.h" #include "cluster.h" #define NONE (-2) #define BUFSIZE 256 #ifndef SCALE #define SCALE "_SCALE_" #endif #ifndef DONTCARE #define DONTCARE "D/C" #endif #ifndef MAXFLOAT #define     MAXFLOAT        ((float)3.40282346638528860e+38) #endif static FLOAT   distance(); static FLOAT   root(); static FLOAT   cure_distance(); static void    merge();
    2023-07-29 18:30:03下载
    积分:1
  • 本程序是基于PIC24的Calculator程序,其实现Calculator多个功能,具体自己体会,这程序旨在让大家熟悉PIC24的编程问题....
    本程序是基于PIC24的Calculator程序,其实现Calculator多个功能,具体自己体会,这程序旨在让大家熟悉PIC24的编程问题.-this program is based on the PIC24 Calculator procedures, Calculator achieve a number of its functions, its own specific experience, This procedure aims to let everyone familiar with the PIC24 programming problems.
    2023-03-13 05:45:04下载
    积分:1
  • 并行计两个矩阵相乘。这个是原创的。可以很快实现大型矩阵的相乘。...
    并行计算两个矩阵相乘。这个算法是原创的。可以很快实现大型矩阵的相乘。-this is a MPI program that can accompish qucik computation of multiply of two large matrix by parall computation
    2023-08-13 16:30:03下载
    积分:1
  • 用C解方程的第2种
    用C解方程的第2种算法-C solution of the equation algorithms No. 2
    2023-04-24 05:15:03下载
    积分:1
  • these are 5 C codes (BorlandC++) realizing the numerical algoriths
    these are 5 C codes (BorlandC++) realizing the numerical algoriths
    2023-02-28 22:25:03下载
    积分:1
  • C++编写解贝塞尔函数
    使用C++语言编写的算法程序,用于解任意阶数的贝塞尔函数,使用的编程方法比较简单,适合初学者学习参考。
    2022-01-24 10:22:46下载
    积分:1
  • Finds the polynomial p10 of degree less than or equal to 10 that interpolates...
    Finds the polynomial p10 of degree less than or equal to 10 that interpolates cos x on the interval [0, PI/2] at 11 equally spaced points. Study the error betwee between the function and the polynomial at 41 equally spaced points over the same interval. Repeat the latter but use your 11 points to be Chebyshevs.
    2022-06-21 05:46:33下载
    积分:1
  • Prim
    资源描述很简单的代码做了Prim算法。它没有超过200条线。你可以在代码中编辑变量。
    2022-02-10 08:00:42下载
    积分:1
  • 696524资源总数
  • 103938会员总数
  • 55今日下载