Integral Ad Science Interview Question

Dynamic programming stock price question