Given the head of a singly linked list, return true if it is a palindrome or false otherwise, with O(n) time and O(1) extra space by modifying the list in-place.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.