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
πŸ’¬ Discuss
βœ… Correct Answer: (D) some strings of length two
Explanation: a string of length 2 for eg: ab is not a palindrome.

Explanation by: Mr. Dubey
a string of length 2 for eg: ab is not a palindrome.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
428
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate