LC 1025. Divisor Game

Nilanjan Deb · April 5, 2020

This is my CPP solution.

class Solution {
public:
    bool divisorGame(int N) {
        if(N%2 == 0){
            return true;
        }
        return false;
    }
};


Dicussion Forum