This questionw was asked in a Google interview and I found it really interesting.
We have a matrix of numbers. If we select a window inside the matrix, what would be the average of the numbers inside that window?