Jane Street Interview Question

dice card coin ev prob