小小程序媛  
得之坦然,失之淡然,顺其自然,争其必然

2015年4月27日

摘要: 题目: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not s... 阅读全文
posted @ 2015-04-27 16:57 Coding菌 阅读(124) 评论(0) 推荐(0)
 
摘要: 题目: Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 分析: 乍看,好似是一个很简单的题目,只需要将整数从最低位起到最高位依次处理即可,但是,此题的关... 阅读全文
posted @ 2015-04-27 15:36 Coding菌 阅读(149) 评论(0) 推荐(0)