This is my CPP solution.
class Solution {
public:
bool divisorGame(int N) {
if(N%2 == 0){
return true;
}
return false;
}
};
My Submissions on LeetCode
This is my CPP solution.
class Solution {
public:
bool divisorGame(int N) {
if(N%2 == 0){
return true;
}
return false;
}
};