T. Rowe Price Interview Question

Recursive functions for the technical part