We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bc6a2a commit d13684dCopy full SHA for d13684d
problems/464.can-i-win.md
@@ -89,7 +89,7 @@ class Solution:
89
return False
90
for n in range(1, maxChoosableInteger + 1):
91
# 对方有一种情况赢不了,我就选这个数字就能赢了,返回 true,代表可以赢。
92
- if not backtrack(acc + n):
+ if not dfs(acc + n):
93
return True
94
95
0 commit comments