Pergunta de entrevista da empresa Citadel Securities

Difficult brainteaser that is hard to prepare for