JeromeHuang

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2015年4月20日

摘要: String to Integer (atoi)Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, plea... 阅读全文
posted @ 2015-04-20 23:08 JeromeHuang 阅读(172) 评论(0) 推荐(0) 编辑

摘要: Reverse IntegerReverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321题目比较简单,注意越界和负数情况即可!Runtime:16 ms#include #includ... 阅读全文
posted @ 2015-04-20 20:32 JeromeHuang 阅读(122) 评论(0) 推荐(0) 编辑