Given the head of a singly linked list, determine if it is a palindrome. You cannot modify the linked list structure and cannot use any auxiliary space (O(1) space complexity).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.