Snapsheet interview question

questions around Python closures, and efficient array traversal