# ---
# title: 234. Palindrome Linked List
# id: problem234
# author: Tian Jun
# date: 2020-10-31
# difficulty: Easy
# categories: Linked List, Two Pointers
# link: <https://leetcode.com/problems/palindrome-linked-list/description/>
# hidden: true
# ---
# 
# Given a singly linked list, determine if it is a palindrome.
# 
# **Example 1:**
# 
#     
#     
#     Input: 1->2
#     Output: false
# 
# **Example 2:**
# 
#     
#     
#     Input: 1->2->2->1
#     Output: true
# 
# **Follow up:**  
# Could you do it in O(n) time and O(1) space?
# 
# 
## @lc code=start
using LeetCode

## add your code here:
## @lc code=end
