private static void maxComSubStrLen(int m, int n, String strA, String strB, int[][] intC, int[][] intB) {
        int i, j;
        for (i = 0; i <= m; i++) {
            intC[i][0] = 0;
        }
        for (i = 1; i <= n; i++) {
            intC[0][i] = 0;
        }
        for (i = 1; i <= m; i++) {
            for (j = 1; j <= n; j++) {
                if (strA.charAt(i-1) == strB.charAt(j-1)) {
                    intC[i][j] = intC[i - 1][j - 1] + 1;
                    intB[i][j] = 1;
                } else if (intC[i - 1][j] >= intC[i][j - 1]) {
                    intC[i][j] = intC[i - 1][j];
                    intB[i][j] = 2;
                } else {
                    intC[i][j] = intC[i][j - 1];
                    intB[i][j] = 3;
                }
            }
        }
    }