All Downloads are FREE. Search and download functionalities are using the official Maven repository.

g0201_0300.s0292_nim_game.Solution Maven / Gradle / Ivy

There is a newer version: 1.35
Show newest version
package g0201_0300.s0292_nim_game;

// #Easy #Math #Game_Theory #Brainteaser #2022_07_06_Time_0_ms_(100.00%)_Space_40.6_MB_(71.00%)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy