comefrom: <awangdev>55. Jump Game_1.java
code: public boolean canJump(int[] nums) {
          if (nums == null || nums.length == 0) {
              return false;
          }
          int farest = 0;
          for (int i = 0; i < nums.length; i++) {
              farest = Math.max(farest, i + nums[i]);
              if (farest >= nums.length - 1) {
                  return true;
              }
              if (farest <= i) {
                  return false;
              }
          }
          return true;
      }
masked: public boolean var_0 ( int [ ] var_1 ) {
    if ( var_1 == null || var_1 . length == 0 ) {
      return false ;
    }
    int var_5 = 0 ;
    for ( int var_6 = 0 ;
    var_6 < var_1 . length ;
    var_6 ++ ) {
      var_5 = Math . max ( var_5 , var_6 + var_1 [ var_6 ] ) ;
      if ( var_5 >= var_1 . length - 1 ) {
        return true ;
      }
      if ( var_5 <= var_6 ) {
        return false ;
      }
    }
    return true ;
  }
  