Examveda

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: Option D


Join The Discussion

Related Questions on Dynamic Programming in Data Structures