Easy10 pts
Palindrome Number
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Note: Negative numbers are NOT palindromes. Example: 121 → true (reads same backward), -121 → false (negative), 10 → false (01 ≠10)
Input
A single integer.
Output
'true' if palindrome, 'false' otherwise.
Sample
121
Expected
true
Loading editor…
Output
No output yet. Run your code to see results.