Pregunta de entrevista de Amazon

Hard dynamic programming question, see leetcode most frequently asked