摘要: Q: 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 is li 阅读全文
posted @ 2016-05-23 21:15 Ella孙大天 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Q: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 s 阅读全文
posted @ 2016-05-23 21:11 Ella孙大天 阅读(116) 评论(0) 推荐(0) 编辑