NVIDIA interview question

Find the longest palindromic substring in a string.