Mental Model
Find the smallest number of changes needed to turn one word into another by adding, removing, or changing letters.
Analogy: Imagine you have two sentences written on paper and you want to make them the same by erasing, writing new letters, or changing letters one by one.
word1: c a t word2: c a r Positions: c -> a -> t c -> a -> r We want to find how many edits to change 'cat' into 'car'.
