Citi Interview Question

Complicated closures about functioning currying and borrowing concepts