Pregunta de entrevista de Optiver

Hackerrank was a game theory DP problem