...
/Challenge: Longest Palindromic Subsequence
Challenge: Longest Palindromic Subsequence
In this lesson, we will build on the problem from the last coding challenge to solve another interesting problem.
We'll cover the following...
Problem statement
Given a string, find the length of the longest common palindromic subsequence in that string. Let’s first review what a palindrome is. A palindrome is a sequence that reads the same in either direction. For example, madam
is a famous palindromic string. If you read it from start to end or from end to start, it reads the same. ...