Domanda di colloquio di Jane Street

brain teasers with some probability/combinatorics