Pregunta de entrevista de Google

Some questions about deal with array. recursive, efficiency,