Pregunta de entrevista de Amazon

debug in for loops, array, or other coding questions.