Snapsheet Interview Question

questions around Python closures, and efficient array traversal