Docusign Interview Question

Write the code to check if a string is a palindrome