Fidelity Investments Interview Question

How to check if a given string is palindrome or not.