Oracle Interview Question

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