Jane Street interview question

Questions about dices and cards