Amazon Interview Question

2-D convolution as a matrix-matrix multiplication