Goldman Sachs Interview Question

4. Code Dot product of matrix