comefrom: <awangdev>Coins in a Line_2.java
code: public boolean firstWillWin(int n) {
          if (n <= 0) {
              return false;
          }
          boolean[] dp = new boolean[2];
          dp[0] = false;
          dp[1] = true;
          for (int i = 2; i <= n; i++) {
              dp[i % 2] = !dp[(i - 1) % 2] || !dp[(i - 2) % 2];
          }
          
          return dp[n % 2];
      }
masked: public boolean var_0 ( int var_1 ) {
    if ( var_1 <= 0 ) {
      return false ;
    }
    boolean [ ] var_2 = new boolean [ 2 ] ;
    var_2 [ 0 ] = false ;
    var_2 [ 1 ] = true ;
    for ( int var_3 = 2 ;
    var_3 <= var_1 ;
    var_3 ++ ) {
      var_2 [ var_3 % 2 ] = ! var_2 [ ( var_3 - 1 ) % 2 ] || ! var_2 [ ( var_3 - 2 ) % 2 ] ;
    }
    return var_2 [ var_1 % 2 ] ;
  }
  