摘要:
Determine whether an integer is a palindrome. Do this without extra space. 思想: 先计算出这个整数的逆序数,然后比较它和原来的数每位是否都相同即可。另外要注意负数没有回文数,还应该考虑overflow一定不是回文数。 AC代 阅读全文
posted @ 2015-05-09 17:19
aezero
阅读(179)
评论(0)
推荐(0)