摘要: Determine whether an integer is a palindrome. Do this without extra space.自己之前的想法是先转换成字符串模式,然后首尾同时开始遍历比较,如果不同则非回文。但是这个要求是不能有额外的空间。所以在网上查找了其他算法,看到是太惊叹了... 阅读全文
posted @ 2014-10-21 11:06 Craze_lee 阅读(253) 评论(0) 推荐(0)