Accenture Interview Question

How to check if a string is palindrome or not?