Emaratech interview question

longest palindrome in a string