| 4 | Time Complexity: O(N^2) |
| 5 | ''' |
| 6 | class Solution: |
| 7 | def divisorGame(self, N: int) -> bool: |
| 8 | dp = [False]*(N+1) |
| 9 | for i in range(N+1): |
| 10 | for j in range(1,i): |
| 11 | if i%j==0 and dp[i-j]==False: |
| 12 | dp[i] = True |
| 13 | return dp[N] |
nothing calls this directly
no outgoing calls
no test coverage detected