Flow Traders interview question

Quite a few dice problems.