Google Interview Question

Asked about a signal processing problem, array manipulation