Jane Street Interview Question

marbles in jars: expected values and probability