Pergunta de entrevista da empresa Shutterfly

Implement a function to check if a string is palindrome