Frage im Vorstellungsgespräch bei Amazon

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