πŸ“Š Design and Analysis of Algorithms
Q. For every non-empty string, the length of the longest palindromic subsequence is at least one.
  • (A) true
  • (B) false
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (A) true

Explanation: a single character of any string can always be considered as a palindrome and its length is one.


Explanation by: Mr. Dubey
a single character of any string can always be considered as a palindrome and its length is one.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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