Pergunta de entrevista da empresa BlackRock

Portfolio Calculation. You need to define your own input/output.