We use cookies for analytics and ad measurement to improve lessons. Cookie policy

Memory gallery / Edit Distance

Medium · Dynamic Programming

Edit Distance

Find the minimum edits needed to transform one word into another.

This memory room is part of Pro.

Retrieval check

With the notes hidden, what pattern should this room bring back?

Related rooms

  • Climbing Stairs
  • Valid Palindrome
  • Minimum Window Substring