Amazon interview question

given a string, find the longest palindrome from leetcode