Staqu Technologies Interview Question

Write code for convolution operation on a nXn matrix with a 3X3 kernel.