Coforge interview question

A program to find out longest palindrome substring in a given string