Which of the following methods can be used to solve the edit distance problem?
Recursion
Dynamic programming
Both dynamic programming and recursion
Greedy Algorithm
(C) Both dynamic programming and recursion
Explanation:
Both dynamic programming and recursion can be used to solve the edit distance problem.