Pregunta de entrevista de ByteDance

Edit distance (dynamic programming). I heard about this classic problem, but never actually prepared for it.