What is the length of the longest palindromic subsequence for the string "ababcdabba"?
6
7
8
9
Correct Answer: B — 7
Explanation:
The longest palindromic subsequence is "abbabba" and its length is 7.