Domanda di colloquio di Amazon

Programming Question 1: Write a function to determine the longest palindromic substring of a given string.