摘要: Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ... 阅读全文
posted @ 2015-12-08 19:45 浩月白雪 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321翻译就是把一个数字反过来输出。解题思路:这道题目看起来比较简单。无非就是一个数字取个位,作为另一个高位。无非是在10的运算。初... 阅读全文
posted @ 2015-12-08 19:19 浩月白雪 阅读(270) 评论(0) 推荐(0) 编辑