Given an integer x, return true if x is a palindrome, and false otherwise. You must solve it without converting the integer to a string, using O(1) extra space and inspecting at most half the digits.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.