Jane Street interview question

dice card coin ev prob