← All problems

Palindrome Linked List

Easy linked liststwo-pointers LeetCode ↗
Determine if a singly linked list is a palindrome, O(1) space.

Hints (0/3 revealed)

Log in to reveal hints progressively.

Complexity

Time O(n), Space O(1)

Common pitfalls

  • Modifying input without noting it
  • Odd-length middle element handling

Your solution

Log in to save your code and track progress.