Given a singly linked list of integers, write a function in java that returns true if the given list is palindrome, else returns false
I am looking for sample code which can impress an interviewer.