Talk:Damerau-Levenshtein distance

From Wikipedia, the free encyclopedia

There is an error in this algorithm. String indices start at 0, but the algorithm starts string comparision at index = 1. The first character will not be tested and when i = lenStr1, str1[i] will be out of range.