All mock tests are FREE till 31 December — register to save your progress
Unit 7 · Data Structures and Algorithms Paper 2 CS · December 2023

Which of the following is NOT a palindromic subsequence of the string "ababcdabba"?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. adba

Explanation

abcba, abba and abbbba can all be picked in order from a-b-a-b-c-d-a-b-b-a and read the same backwards. 'adba' reversed is 'abda', so it is not a palindrome at all.

More Data Structures and Algorithms questions