Edit Distance

来源:互联网 发布:淘宝正品潮牌店铺 编辑:程序博客网 时间:2024/06/07 10:52

1/4 题目描述

Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2.
(each operation is counted as 1 step.)

You have the following 3 operations permitted on a word:

a) Insert a character
b) Delete a character
c) Replace a character


2/4 思路分析


3/4 代码实现

I/II c语言

II/II java


4/4知识点分析

0 0