Pregunta de entrevista de Google

One question was about recursion, another about arrays.