C# Solution


  • 0
    Z

    public class Solution {
    public bool CanWinNim(int n) {

        if(n>=4&&n%4==0) return false;
        else
            return true;
    
    
        
        
    }
    

    }


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.