Pregunta de entrevista de Meta

How would you improve the efficiency of your code? How would you do X if Y changed (in the problem statement)?