leetcode

234. Palindrome Linked List

Solution code

Time complexity: O(n)

Space complexity: O(1)