EasyForces
Index
1-100
101-200
201-300
301-400
401-500
501-600
601-700
701-800
801-900
901-1000
1001-1100
1101-1200
1201-1300
1301-1400
1701-1800
Tags
Array
String
Dynamic Programming
Tree
Graph
Math
Two Pointers
Greedy
Binary Search
Heap
Depth-first Search
Breadth-first Search
Search
Nim Game
Intuition
Solution
class Solution: def canWinNim(self, n: int) -> bool: return n % 4 != 0