Pregunta de entrevista de Capgemini

Provide a function/algorithm for checking if a word is a palindrome.