Walleye Capital interview question

Write a Python function that overlays functions