Skip to content

Commit e56da3c

Browse files
committed
Update nim-game.md
1 parent 431de78 commit e56da3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode/nim-game.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
### 题目:
22
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 stone will be the winner. You will take the first turn to remove the stones.
33

44
Both of you are very clever and have optimal strategies for the game. Write a function to determine whether you can win the game given the number of stones in the heap.

0 commit comments

Comments
 (0)