<awangdev>[lint]. Product of Array Exclude Itself_1.java
public ArrayList<Long> productExcludeItself(ArrayList<Integer> A) {
    	if (A == null || A.size() == 0) {
    		return null;
    	}
    	ArrayList<Long> rst = new ArrayList<Long>();
    	for (int i = 0; i < A.size(); i++) {
    		long num = 1;
    		for (int j = 0; j < A.size(); j++) {
    			if (j != i) {
    				num *= A.get(j);
    			}
    		}
    		rst.add(num);
    	}
    	return rst;
    }
public ArrayList < Long > var_1 ( ArrayList < Integer > var_4 ) {
  if ( var_4 == null || var_4 . size ( ) == 0 ) {
    return null ;
  }
  ArrayList < Long > var_8 = new ArrayList < Long > ( ) ;
  for ( int var_9 = 0 ;
  var_9 < var_4 . size ( ) ;
  var_9 ++ ) {
    long var_11 = 1 ;
    for ( int var_12 = 0 ;
    var_12 < var_4 . size ( ) ;
    var_12 ++ ) {
      if ( var_12 != var_9 ) {
        var_11 *= var_4 . get ( var_12 ) ;
      }
    }
    var_8 . add ( var_11 ) ;
  }
  return var_8 ;
}
