Flow Traders Interview Question

Quite a few dice problems.