File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ def sumGame(self, num):
8
8
:rtype: bool
9
9
"""
10
10
# (1) if both halfs have '?',
11
- # alice will try to choose a number from one half to maximize or minimize the diff of both half sums,
12
- # and bob will try to choose the same number from the other half to minimize or maximize the diff of both half sums.
11
+ # alice will optimally choose 9 or 0 from one half to maximize or minimize the diff of both half sums,
12
+ # and bob will optimally to choose the same number from the other half to minimize or maximize the diff of both half sums.
13
13
# in the end, it turns that only one half has '?' and the diff of both half sums is still the same as original
14
14
# (2) if smaller half has no '?', then alice wins
15
15
# (3) if smaller half has '?'
You can’t perform that action at this time.
0 commit comments