FastModel Sports Interview Question

How would you use recursion in this solution?