Sabre interview question

Write an algorithm verifying if a word is a palindrome.