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

g1001_1100.s1025_divisor_game.Solution.kt Maven / Gradle / Ivy

There is a newer version: 1.30
Show newest version
package g1001_1100.s1025_divisor_game

// #Easy #Dynamic_Programming #Math #Game_Theory #Brainteaser
// #2023_05_23_Time_114_ms_(93.33%)_Space_34.2_MB_(13.33%)

class Solution {
    fun divisorGame(n: Int): Boolean {
        return n % 2 == 0
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy