NVIDIA Interview Question

Moving windows sum