Pergunta de entrevista da empresa Amazon

given a string, find the longest palindrome from leetcode