Blue Yonder Interview Question

Write a program for finding longest palindrome in a string