Blackbaud Interview Question

Implement code to find whether a word is a palindrome