public void sortColors_Two_iteration(int A[]) {
		if (A.length <= 1)
			return;
		int red = 0, white = 0;
		for (int i = 0; i < A.length; i++) {
			if (A[i] == 0)
				red++;
			if (A[i] == 1)
				white++;
		}
		int index = 0;
		while (red-- > 0) {
			A[index++] = 0;
		}
		while (white-- > 0) {
			A[index++] = 1;
		}
		while (index < A.length) {
			A[index++] = 2;
		}
	}