Indices and values

Report a typo

Compare the values of the indices i,ji, j with the corresponding values of the Damerau-Levenshtein function:

Match the items from left and right columns
i,j>0i, j > 0 and ai=bja_i = b_j
i,j>0i, j >0 and ai≠bja_i \neq b_j
i=j=0i = j = 0
i,j>0i, j > 0 and ai=bj−1a_i = b_j-1 and ai−1=bja_i-1 = b_j
j>0j > 0
i>0i > 0
d(i−1,j−1)d(i - 1, j - 1)
d(i−1,j−1)+1d(i - 1, j - 1) + 1
d(i−1,j)+1d(i - 1, j) + 1
00
d(i−2,j−2)+1d(i - 2, j - 2)+1
d(i,j−1)+1d(i, j - 1) + 1

Create a free account to access the full topic