Squarepoint Capital interview question

Dice questions, Dynamic programming coding test