Tesla Interview Question

Convolution coding for 2d image