Google interview question

Calculate moving average for given array of ints.