Closed pradeexsu closed 4 years ago
You may assume that the maximum length of s is 1000.
Input:
"bbbab"
Output:
4
One possible longest palindromic subsequence is "bbbb".
"cbbd"
2
One possible longest palindromic subsequence is "bb".
1 <= s.length <= 1000 s consists only of lowercase English letters.
**Note read README file carefully
I want work on this issue please assign to me
Example 1:
Input:
"bbbab"
Output:
4
One possible longest palindromic subsequence is "bbbb".
Example 2:
Input:
"cbbd"
Output:
2
One possible longest palindromic subsequence is "bb".
Constraints:
**Note read README file carefully