Question d’entretien chez Keeper Tax

Classic algorithm question but can’t remember exactly what