Question d’entretien chez RBC

How would you solve this case..