Squarepoint Capital interview question

Write a decorator that wraps another function