Google Interview Question

Calculate moving average for given array of ints.