This is the problem of finding longest palindromic substring in a string.