I am trying this problem on longest palindromic subsequence.
Here is my code-
I am unable to find the bug.Kindly help.Kindly tell how to approach this problem,how to calculate the center of the longest palindromic subsequence
I am trying this problem on longest palindromic subsequence.
Here is my code-
I am unable to find the bug.Kindly help.Kindly tell how to approach this problem,how to calculate the center of the longest palindromic subsequence