Pregunta de entrevista de Adobe

Dp and graph based coding question