RNF Technologies interview question

Closures and some programs