随笔分类 - 算法题
摘要:最近做的题记录下。 258. Add Digits Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num
阅读全文
摘要:下面是今天写的几道题: 292. 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 t
阅读全文

浙公网安备 33010602011771号