Stryker interview question

Check if the string is pallindrome or not