1.

Which of the following methods can be used to solve the edit distance problem?(a) Recursion(b) Dynamic programming(c) Both dynamic programming and recursion(d) Greedy AlgorithmThis question was addressed to me during a job interview.The origin of the question is Edit Distance Problem topic in portion Dynamic Programming of Data Structures & Algorithms II

Answer»

The CORRECT CHOICE is (c) Both dynamic programming and recursion

Best explanation: Both dynamic programming and recursion can be USED to solve the edit DISTANCE problem.



Discussion

No Comment Found

Related InterviewSolutions