Roofstock Interview Question

A "fix the function" pair programming exercise in the language of my choice.