Problem Description:
Determine if a number is palindrome
class Solution {
public boolean isPalindrome(int x) {
if(x<0)
return false;
int rs=0;
// Note: The following method parameters to be assigned to incoming come d
// The following operation method is d, the value of x is not changed to facilitate the final result to x compared
int d = x;
the while (! D = 0) {
RS = RS * 10% + 10 d;
d / = 10;
}
return (RS == X);
}
}