<gouthampradhan>greedy_JumpGame_1.java
public boolean canJump(int[] nums) {
    if (nums.length == 0) return false;
    int min = nums.length - 1, max = nums.length - 1;
    for (int i = nums.length - 2; i >= 0; i--) {
      if ((nums[i] + i) >= min) min = i;
    }
    return (min == 0);
  }
public boolean var_0 ( int [ ] var_1 ) {
  if ( var_1 . length == 0 ) return false ;
  int var_5 = var_1 . length - 1 , var_6 = var_1 . length - 1 ;
  for ( int var_8 = var_1 . length - 2 ;
  var_8 >= 0 ;
  var_8 -- ) {
    if ( ( var_1 [ var_8 ] + var_8 ) >= var_5 ) var_5 = var_8 ;
  }
  return ( var_5 == 0 ) ;
}
