Palindrome Number [LeetCode]
摘要:Determine whether an integer is a palindrome. Do this without extra space.Summary:Get the digital number first, then caculate digitial from both way and compare them. int pow_10(int n){ int result = 1; while(n > 0 ){ result *= 10; n --; } return r...
阅读全文
posted @ 2014-02-03 12:41


浙公网安备 33010602011771号