J.P. Morgan interview question

algorithm, palindrome questions. Data structures