Check Palindrome Linked List

Given the head of a singly linked list, determine if it is a palindrome. Return true if it is, false otherwise.

Examples
Input: [1,2,2,1]
Output: false
Hints

Check Palindrome Linked List

Given the head of a singly linked list, determine if it is a palindrome. Return true if it is, false otherwise.