Insert
Delete
Replace
$\text{solve}(i, j)$
$\text{solve}(i, j-1)$
$\text{solve}(i-1, j)$
$\text{solve}(i-1, j-1)$
$+1\text{ operation}$
$+1\text{ operation}$
$+1\text{ operation}$