Pergunta de entrevista da empresa Amazon

leetcode easy problem - something with palindromes