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.24
Show newest version
package g0201_0300.s0292_nim_game;

// #Easy #Math #Game_Theory #Brainteaser #2022_03_14_Time_0_ms_(100.00%)_Space_41.2_MB_(15.52%)

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy