Texas Instruments Interview Question

Implementation of moving average filter