Mental Model
Find the smallest number of changes needed to turn one word into another by adding, removing, or changing letters.
Analogy: Imagine fixing a typo in a word by either erasing a letter, adding a new one, or changing a wrong letter to the right one, counting each fix as one step.
word1: c a t
word2: c a r
Matrix (rows: word1 letters + empty, cols: word2 letters + empty):
'' c a r
'' 0 1 2 3
c 1 ? ? ?
a 2 ? ? ?
t 3 ? ? ?