N26 interview question

Dice rolling question - medium leet