Qualcomm interview question

1. Write C++ code for Convolution