Add one edit distance solution.