Question d’entretien chez Corpay

Explain code that I wrote