American Express Interview Question

Write code for a Palindrome