Optiver interview question

Dynamic programming problems based on trading