NADSOFT Interview Question

Recursive function