- 博客(2)
- 资源 (3)
- 收藏
- 关注
原创 leetcode 258. Add Digits
Add DigitsGiven 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 like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has only on
2016-02-24 16:30:31 425
原创 leetcode 292. Nim Game(拿石子游戏)
Nim Game(拿石子游戏)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 stones. The one who removes the last sto
2016-02-24 16:22:39 1008
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人