Pergunta de entrevista da empresa Green Apple Solutions

Write a program to find the longest palindrome in a string.