J.P. Morgan Interview Question

Find the palindrome of a string