Pregunta de entrevista de Pinterest

A coding problem that involved lists and dynamic programming.