Pregunta de entrevista de Citadel

Question on solving portfolio optimization