Pregunta de entrevista de Fractal

Machine learning coding question ; Dynamic programming