Find the length of the longest subsequence of a given string that is also a palindrome.
{ "s": "bbbab" }
4
{ "s": "cbbd" }
2
{ "s": "agbcba" }
5
Sign in to Run Code and Submit