Sollicitatievraag bij Divergent Software Labs

Recursion and random question from competitive website.