Citadel interview question

Question on solving portfolio optimization