https://school.programmers.co.kr/learn/courses/30/lessons/12949
class Solution {
public int[][] solution(int[][] arr1, int[][] arr2) {
int row1 = arr1.length;
int col1 = arr1[0].length;
int col2 = arr2[0].length;
int[][] result = new int[row1][col2];
for(int i=0; i<row1; i++){
for(int j=0; j<col2; j++){
int sum = 0;
for(int k=0; k<col1; k++){
sum = sum + arr1[i][k] * arr2[k][j];
}
result[i][j] = sum;
}
}
return result;
}
}