Question d’entretien chez OCTO Technology

resolve this psuedo code with recursive way.