537. Check If the Number is Palindrome or not!!
Problem: Determine whether a given integer x is a palindrome. Return true if x is a palindrome, and false otherwise. A palindrome is a word, phrase, number, or sequence of characters that reads the same forwards and backwards. Note : When a negative number is read from left to right, it remains negative. However, when read from right to left, the negative sign is at the end. Therefore, a negative number is not considered a palindrome.
First Line: An integer x
Print true if the input integer is a palindrome, and false otherwise.
-231 <= x <= 231 - 1