Cognizant interview question

palindrome reverse a string MySQL basic