摘要: Palindrome Number 问题描述如下: Determine whether an integer is a palindrome. Do this without extra space. 关键在不占用额外的空间的情况下生成它的回文序列,然后作差即可。 如果相等,说明回文,如果不相等说明 阅读全文
posted @ 2017-09-28 21:59 蔺小渊 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Count and Say The count-and-say sequence is the sequence of integers with the first five terms as following: 1 is read off as "one 1" or 11.11 is read 阅读全文
posted @ 2017-09-28 21:30 蔺小渊 阅读(139) 评论(0) 推荐(0) 编辑