Pregunta de entrevista de Snapsheet

questions around Python closures, and efficient array traversal