UKG interview question

Determine whether a string is a palindrome.