Back to Question

Check if Linked List is a Palindrome

Question Explain

Given the head of a singly linked list, return true if it is a palindrome. Solve in $O(n)$ time and $O(1)$ space by reversing the second half.

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.