Check if Linked List is Palindrome

Given the head of a singly linked list, return true if the linked list is a palindrome; otherwise, return false.

Difficulty:

Console