Yahoo Interview Question

Check if a string is palindrome?