comefrom: <awangdev>Jump Game II_4.java
code: public int jump(int[] nums) {
          if (nums == null || nums.length <= 1) {
              return 0;
          }
          int index = 0;
          int step = 0;
          int range = 0;
          int maxRange = 0;
          
          while (index < nums.length) {
              if (range >= nums.length - 1) {
                  break;
              }
              while (index <= range) {
                  maxRange = Math.max(maxRange, index + nums[index]);
                  index++;
              }
              range = maxRange;
              step++;
          }
          return step;
      }
masked: public int sample_funcname ( int [ ] var_0 ) {
    if ( var_0 == null || var_0 . length <= 1 ) {
      return 0 ;
    }
    int var_5 = 0 ;
    int var_6 = 0 ;
    int var_7 = 0 ;
    int var_8 = 0 ;
    while ( var_5 < var_0 . length ) {
      if ( var_7 >= var_0 . length - 1 ) {
        break ;
      }
      while ( var_5 <= var_7 ) {
        var_8 = Math . max ( var_8 , var_5 + var_0 [ var_5 ] ) ;
        var_5 ++ ;
      }
      var_7 = var_8 ;
      var_6 ++ ;
    }
    return var_6 ;
  }
  