Pregunta de entrevista de Susquehanna International Group

Dice problem and card problems