lizncu

292. Nim GamelizncuJava

Java

class Solution {
  public boolean canWinNim(int n) {
    return n % 4 == 0 ? false : true;
  }
}