<awangdev>Jump Game II_1.java
public int jump(int[] nums) {
        if (nums == null || nums.length <= 1) return 0;
        int count = 0, farest = 0, maxRange = 0, n = nums.length;
        for (int i = 0; i < n - 1; i++) {
            maxRange = Math.max(maxRange, i + nums[i]);
            if (i == farest) {
                count++;
                farest = maxRange;
            }
        }
        return count;
    }
public int sample_funcname ( int [ ] var_0 ) {
  if ( var_0 == null || var_0 . length <= 1 ) return 0 ;
  int var_5 = 0 , var_6 = 0 , var_7 = 0 , var_8 = var_0 . length ;
  for ( int var_9 = 0 ;
  var_9 < var_8 - 1 ;
  var_9 ++ ) {
    var_7 = Math . max ( var_7 , var_9 + var_0 [ var_9 ] ) ;
    if ( var_9 == var_6 ) {
      var_5 ++ ;
      var_6 = var_7 ;
    }
  }
  return var_5 ;
}
