Mental Model
Find the smallest number of changes needed to turn one word into another by inserting, deleting, or replacing letters.
Analogy: Imagine fixing a typo in a word by changing letters, adding missing ones, or removing extras, like editing a sentence to make it correct.
word1: c a t word2: c a r We compare letters one by one and count changes needed: c a t | | | c a r Positions: 0 1 2
