Pergunta de entrevista da empresa Clearwater Analytics (CWAN)

Write code to check if a string is a palindrome