iCIMS Interview Question

Recursion optimization