Squarepoint Capital interview question

Pair programming problem solvable with dynamic programming