Pergunta de entrevista da empresa Google

Dynamic programming question. But mostly everything was normal