leetcode
洞庭湖烟波飘散
这个作者很懒,什么都没留下…
展开
-
Leetcode题解 1025. Divisor Game (JAVA)
题目:Alice and Bob take turns playing a game, with Alice starting first.Initially, there is a number N on the chalkboard. On each player’s turn, that player makes a move consisting of:Choosing any x...原创 2020-01-05 19:38:22 · 147 阅读 · 0 评论 -
Leetcode题解 908. Smallest Range I (JAVA)
题目:Given an array A of integers, for each integer A[i] we may choose any x with -K <= x <= K, and add x to A[i].After this process, we have some array B.Return the smallest possible differenc...原创 2020-01-04 09:50:54 · 98 阅读 · 0 评论