@@ -0,0 +1,303 @@
+/**%0A * Problem Link: https://leetcode.com/problems/nim-game/%0A * %0A * When n%E2%88%88%5B1,3%5D%EF%BC%8CWin.%0A * %0A * When n == 4%EF%BC%8CLose.%0A * %0A * When n%E2%88%88%5B5,7%5D%EF%BC%8CWin.%0A * %0A * When n == 8, Lose.%0A * %0A * So, whenever n %25 4 == 0, Fail.%0A */%0A %0Apublic class Solution %7B%0A    public boolean canWinNim(int n) %7B%0A        return n %25 4 != 0;%0A    %7D%0A%7D%0A

Create Nim_Game.java