Pregunta de entrevista de LinkedIn

Design function that can determine whether a given string is a palindrome.