Question d’entretien chez Qualtrics

They asked me to solve a problem using recursion