Topic: Mathematics Problem / Level: advanced

Problem: Write a program to find the longest palindromic subsequence in a string.

Run the code to see the output here...