Domanda di colloquio di Microsoft

Write a function that determines whether a string is a palindrome.