WorldQuant Interview Question

probability part