Lucky Day interview question

Write a function that returns whether or not a string is a palindrome.