<awangdev>283. Move Zeroes_1.java
public void moveZeroes(int[] nums) {
        if (nums == null) return;
        int index = 0, n = nums.length;
        for (int i = 0; i < n; i++) {
            if (nums[i] != 0) nums[index++] = nums[i];
        }
        for (int i = index; i < n; i++) {
            nums[i] = 0;
        }
    }
public void var_0 ( int [ ] var_1 ) {
  if ( var_1 == null ) return ;
  int var_4 = 0 , var_6 = var_1 . length ;
  for ( int var_7 = 0 ;
  var_7 < var_6 ;
  var_7 ++ ) {
    if ( var_1 [ var_7 ] != 0 ) var_1 [ var_4 ++ ] = var_1 [ var_7 ] ;
  }
  for ( int var_7 = var_4 ;
  var_7 < var_6 ;
  var_7 ++ ) {
    var_1 [ var_7 ] = 0 ;
  }
}
