McqMate
| 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. | |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet