Convert String into Palindrome

A palindrome is a word, number, phrase, or other sequence of characters which reads the same backwar…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

Can anyone please help me find the problem with this code? I am getting right answer for the first test case but wrong for the 2nd Screenshot_20200803-133534_Pydroid 3|243x500

You have to use dynamic programming for solving this problem