Visa Inc. interview question

Finding the longest palindromic substring in a given string