Sollicitatievraag bij Deutsche Bank

Write some code for creating an incrementing counter using a closure?