Pregunta de entrevista de Fibre-Craft

How would you make this operation more efficient?