Samsung Research America Interview Question

Write a program convoluting a graph given a kernel