Q.

For which of the following, the length of the string is not equal to the length of the longest palindromic subsequence?

A. a string that is a palindrome
B. a string of length one
C. a string that has all the same letters(e.g. aaaaaa)
D. some strings of length two
Answer» D. some strings of length two
Explanation: a string of length 2 for eg: ab is not a palindrome.
1.1k
0
Do you find this helpful?
10

Discussion

No comments yet