Pocket Gems interview question

Implement a function to check if a singly-linked list is a palindrome.