Find the Occurrence of First Almost Equal Substring
Slide the pattern across the text and stop each window at its second mismatch, so a match means at most one changed letter.
Slide the pattern across the text and stop each window at its second mismatch, so a match means at most one changed letter.