Question d’entretien chez Jane Street

question had three parts, didn't run code