ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Given a string, you have to find the minimum number of characters to be inserted in the string so that the string becomes a palindrome. Which of the following methods can be used to solve the problem?
Correct Answer: D — Both recursion and dynamic programming
Dynamic programming and recursion can be used to solve the problem.