Google Interview Question

A coding question on arrays.