Problem
Implement a function that checks whether a positive number is a palindrome or not. For example, 121 is a palindrome, but 123 is not.
Sollution
It is easy to check whether a string is a palindrome or not - we can check whether the first character and the last one are identical, and then compare the second Read More →