Question d’entretien chez MORSE Corp

How would you make this solution more efficient?