Pergunta de entrevista da empresa RetailMeNot

Dynamic Programming problem from "LeetCode" = ["Leet", "Code"].

Resposta da entrevista

Sigiloso

12 de jun. de 2015

I gave an iterative solution, unfortunately I was too distracted and couldn't think of the dp way to solve the question until the interview was over.