UKG Interview Question

Determine whether a string is a palindrome.