Palindrome number is a number reads the same backward as forward.
Given an integer x, where 1 <= x <= 9999, you must:
- If true return x is palindrome integer;
- If false return x is not a palindrome integer.
I decided to solve this problem because I wanted to know what is an integer. In the previous project I found a lot this word in my research. So I was curious about it.
Based on a problem proposed by Leetcode.