Pregunta de entrevista de Procurify

Given a string input, write an algorithm to determine if it is a palindrome.