Pergunta de entrevista da empresa CVS Health

How would you check if a string is a Palindrome?