Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Levenshtein distance, a dynamic programming algorithm for determining the edit distance between two sequences - the number of insertions, deletions or substitutions required to convert one sequence to the other. https://en.wikipedia.org/wiki/Levenshtein_distance


Interestingly enough Levenshtein can also be implemented as an A* variation iirc.


Gosling used a variant of it to optimize screen updates in emacs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: