LeetCode
Palindrome Number
Click
here
for an explanation.