Qualtrics interview question

Longest Palindromic Subsequence