LeetCode--Add Digits
摘要:
题目: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process i... 阅读全文
posted @ 2015-11-03 10:45 小二杰 阅读(97) 评论(0) 推荐(0)