登录
首页 » 算法 » 设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括: 1. 删除一个字符 2. 插入一个字符 3. 将一个字符...

设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括: 1. 删除一个字符 2. 插入一个字符 3. 将一个字符...

于 2022-01-26 发布 文件大小:525.00 B
0 233
下载积分: 2 下载次数: 1

代码说明:

设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括: 1. 删除一个字符 2. 插入一个字符 3. 将一个字符改为另一个字符 将字符串A变换为字符串B所用的最少操作数称为A到B的编辑距离,极为d(A,B)。设计一个算法,计算任意两个字符串的编辑距离。 -Set A and B are two strings. Operation will use the least character string A is converted to a string B. Operation of characters are talking about here include: 1. Delete a character 2. Insert a character 3. Will be replaced by one character to another character will be transformed into a string A string of at least B operand used by A to B is called the edit distance is extremely d (A, B). Design an algorithm to calculate any two of the string edit distance.

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

发表评论

0 个回复

  • Matlab下实现的CFD算法
    Matlab下实现的CFD算法-Matlab under the CFD algorithms
    2023-08-21 07:50:04下载
    积分:1
  • 基于VC的FFT算法
    资源描述 Design a program to implement the 1-D FFT algorithm. Input: a vector. Get the testing data in file ‘Project_2_test’. Output: a vector, which is the discrete Fourier transform of the input. For example: Input: 3 8 10 12 Output: 33.0000+0.0000i -7.0000+4.0000i -7.0000+0.0000i -7.0000-4.0000i Requirements:
    2023-07-23 23:40:04下载
    积分:1
  • Fractali 谢尔宾斯基
    通过生成 fuctiilor Sierpinski 分形数学家的名字命名的建筑。一代人,和图像的示例包含生成的程序窗口。
    2022-06-02 16:23:55下载
    积分:1
  • 八皇后问题的C语言递归示例.详见ReadMe
    八皇后问题的C语言递归示例.详见ReadMe-the C language recursive example. See ReadMe
    2022-01-22 00:25:23下载
    积分:1
  • java语言实现各种排序算法
    采用java语言,实现克重排序算法,如快速排序、冒泡排序等;
    2022-01-25 21:05:04下载
    积分:1
  • 完整的磁盘文件排序源程序,非常实用的vc源代码
    完整的磁盘文件排序源程序,非常实用的vc源代码-integrity of the disk ranking source document, very useful vc source code
    2022-07-12 00:03:15下载
    积分:1
  • 牛顿迭代算法;
    数值计算算法:牛顿迭代算法的数学写的帕斯卡尔 要找到一个解决方案,以F(X)=0给出的   初始近似P0:   输入:初始近似P0;公差TOL;            最大迭代次数编号。   输出:近似解p或            该算法失败的消息。
    2022-07-11 16:34:14下载
    积分:1
  • 快速傅立叶变换,及快速傅立叶反变换。输入第一行为向量维数,第二三行为两个向量...
    快速傅立叶变换,及快速傅立叶反变换。输入第一行为向量维数,第二三行为两个向量-Fast Fourier Transform, and Fast Fourier Transform. Input vector dimension of the first acts, acts of two vector
    2023-06-17 14:30:03下载
    积分:1
  • 一个C#写的FFT函数,希望能给大家以提示。没有压缩密码。
    一个C#写的FFT函数,希望能给大家以提示。没有压缩密码。-a write C# FFT function, we can hope to suggest. No compression password.
    2022-10-05 22:25:02下载
    积分:1
  • 蒙特卡洛方法求PI
    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Drawing.Drawing2D; using System.Threading;  namespace WinRandomPI {     public partial class GetPIValue : Form
    2022-03-13 01:46:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载