Pregunta de entrevista de Google

Problems based on dynamic programming and arrays.