Pregunta de entrevista de Apple

Automated online questions, asked about dynamic programmings.