Question d’entretien chez Kaizen Reporting

Solve this problem with and without recursion