Skip to content

Files

Latest commit

Jan 23, 2020
224c865 · Jan 23, 2020

History

History

problem031

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 23, 2020
Jan 23, 2020
Jan 23, 2020

Daily Coding Problem: Problem #31 [EASY]

Good morning! Here's your coding interview problem for today.

This problem was asked by Google.

The edit distance between two strings refers to the minimum number of character insertions, deletions, and substitutions required to change one string to the other. For example, the edit distance between “kitten” and “sitting” is three: substitute the “k” for “s”, substitute the “e” for “i”, and append a “g”.

Given two strings, compute the edit distance between them.