Thursday, December 31, 2015

234. Palindrome Linked List

Given a singly linked list, determine if it is a palindrome.
Follow up:
Could you do it in O(n) time and O(1) space?
Java Code:

No comments:

Post a Comment