Question d’entretien chez Maluuba

Coding assignment: optimize the performance of the provided code