Pergunta de entrevista da empresa Meta

Are you ready? How would you approach this problem?