Blue Yonder Interview Question

Write an algorithm that can determine whether or not a word is a palindrome.