One line solution


  • 0
    N

    the hint of this question is already in the question. if 4 stones left, you can never win the game.

    return !(n % 4 == 0);

Log in to reply
 

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