Pergunta de entrevista da empresa Google

Two dynamic programming questions. One is easy, the other is hard.