# Solution: The Edit Distance Problem

This review provides a detailed analysis of three different ways to solve the famous edit distance problem.

## Solution #1: Brute force

Let’s start by looking at the brute force solution to solve this problem first:

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.