Black Diamond interview question

To code a working example of a palindrome problem without assistance.