Jane Street Interview Question

Some probability puzzles