Amazon interview question

Longest palindromic substring