Connecteam interview question

Check if a string is a polindrome