Yahoo Interview Question

check whether a String is Palindrome or not?