Q.

What is the length of the longest palindromic subsequence for the string “ababcdabba”?

A. 6
B. 7
C. 8
D. 9
Answer» B. 7
Explanation: the longest palindromic subsequence is “abbabba” and its length is 7.
1.5k
0
Do you find this helpful?
12

Discussion

No comments yet