Pregunta de entrevista de TikTok

Coding a function calculating the editing distance of two strings