<gouthampradhan>two_pointers_MoveZeroes_1.java
public void moveZeroes(int[] nums) {
    int i = 0;
    for (int j = 0, l = nums.length; j < l; ) {
      if (nums[j] == 0) j++;
      else {
        int temp = nums[i];
        nums[i] = nums[j];
        nums[j] = temp;
        i++;
        j++;
      }
    }
    while (i < nums.length) nums[i++] = 0;
  }
public void var_0 ( int [ ] var_1 ) {
  int var_3 = 0 ;
  for ( int var_4 = 0 , var_6 = var_1 . length ;
  var_4 < var_6 ;
  ) {
    if ( var_1 [ var_4 ] == 0 ) var_4 ++ ;
    else {
      int var_7 = var_1 [ var_3 ] ;
      var_1 [ var_3 ] = var_1 [ var_4 ] ;
      var_1 [ var_4 ] = var_7 ;
      var_3 ++ ;
      var_4 ++ ;
    }
  }
  while ( var_3 < var_1 . length ) var_1 [ var_3 ++ ] = 0 ;
}
