clueless coding // TODO: be smarter

LeetCode Nim Game: Java Solution



TL;DR Code Solution


public boolean canWinNim(int n) {
    return n % 4 != 0;
}