Pregunta de entrevista de Google

only one Array based question