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