Pergunta de entrevista da empresa Meta

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