摘要: Description: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do n 阅读全文
posted @ 2017-03-19 23:42 legooooo 阅读(121) 评论(0) 推荐(0) 编辑
摘要: Description: Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 click to show spoilers. Note:The input is assu 阅读全文
posted @ 2017-03-19 16:00 legooooo 阅读(70) 评论(0) 推荐(0) 编辑