LeetCode 258-Add Digits
摘要:
Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3 + ... 阅读全文
posted @ 2015-10-06 16:44 露台上对望 阅读(201) 评论(0) 推荐(0) 编辑