Edit Distance

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • hard
  • Pro

Find the minimum number of single-letter insertions, deletions and substitutions needed to turn one word into another. Explain your table and what each cell means.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →