开发者

Insertions, deletions and substitutions between two strings

开发者 https://www.devze.com 2023-02-11 07:37 出处:网络
Given string A,B I need to compute the number o开发者_运维知识库f insertions, deletions and substitutions for B to become A. What would be a good algorithm for this?That\'s known as Levenshtein distan

Given string A,B I need to compute the number o开发者_运维知识库f insertions, deletions and substitutions for B to become A. What would be a good algorithm for this?


That's known as Levenshtein distance.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号