Pergunta de entrevista da empresa Bank RBK

Implement a method that checks wether a word is a palindrome using Java