Optiver interview question

Hackerrank was a game theory DP problem