Search⌘ K

Solution: Palindrome Number

Let's solve the Palindrome Number problem using the Math and Geometry pattern.

Statement

Given an integer, x, return TRUE if it is a palindrome; otherwise, FALSE.

A palindrome integer is one whose digits read the same from left to right and right to left.

Constraints:

  • 231-2^{-31} \leq x 231 ...