Pergunta de entrevista da empresa Bloomberg

Had to answer a practical question by giving examples.