Oracle interview question

Write code to check whether a given string is palindrome or not