Pregunta de entrevista de Infosys

Based on Dynamic Programming and Graphs mainly.