public static void replaceRowAndCollumnElementContainsZero(int[][] intArray) {
		Set<Integer> columnSet = new HashSet<>();
		int rowLength = intArray.length;
		int columnLength = intArray[0].length;
		boolean isThisRowContainsZero = false;

		for (int i = 0; i < rowLength; i++) {
			for (int j = 0; j < columnLength; j++) {
				if (intArray[i][j] == 0) {
					columnSet.add(j);
					if (!isThisRowContainsZero) {
						for (int pre = 0; pre < j; pre++) {
							intArray[i][pre] = 0;
						}
					}
					isThisRowContainsZero = true;
				}

				if (isThisRowContainsZero) {
					intArray[i][j] = 0;
				}
			}
			isThisRowContainsZero = false;
		}

		Iterator<Integer> it = columnSet.iterator();
		while (it.hasNext()) {
			int column = it.next();
			for (int i = 0; i < rowLength; i++) {
				intArray[i][column] = 0;
			}
		}
	}