Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDynamic Programmig:- Longest Palindromic Subsequence #1709
Comments
I can do this |
Ok I finished, but the results of my algorithm are different from the two test cases you wrote. |
Yes you are right my also answer came to be a length of 7. It was a mistake from me |
Ok, thank you. I make the pull request |
…ence Fixes: #1709 Longest palindromic subsequence
Longest Palindromic Subsequence is a type of subsequence in which the two strings are considered Eg:-
String 1:- BBABCBCAB
String 2:- BABCBAB
The result i.e. the Longest Palindrimic Subsequence from the above two strings is:
Result 1:- BBBBB
Result 2:-BBCBB