Domanda di colloquio di Deutsche Bank

Longest palindromic sub sequence question