Pregunta de entrevista de Jane Street

implement a dot product and implement it in a 2d convolution