Given an integer x, return true if x is a palindrome, and false otherwise. A palindrome is a number that reads the same backward as forward.
Click Run to execute sample tests.