Premature optimization is the root of all evil in programming. C.A.R. Hoare
Edit distance is a way of quantifying how dissimilar two strings are to one another by counting the minimum number of operations required to transform one string into the other.
Write a program to find the minimum edit distance between two strings.
Minimum distance between 'Hello world' and 'world' : 6